public function warn($message, array $context = array()) { trigger_error('Use warn() which is PSR-3 compatible', E_USER_DEPRECATED); $this ->log('warning', $message, $context); }