PHP 인터페이스 Newscoop\Service\IErrorHandler

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
error ( string $key ) Handle the error. The key of the error needs to be mapped as constant see previous implementations.
warning ( string $key ) Handle the warning. The key of the warning needs to be mapped as constant see previous implementations.

메소드 상세

error() 공개 메소드

Handle the error. The key of the error needs to be mapped as constant see previous implementations.
public error ( string $key )
$key string The key of the error, which uniquelly identifies it, not null.

warning() 공개 메소드

Handle the warning. The key of the warning needs to be mapped as constant see previous implementations.
public warning ( string $key )
$key string The key of the waning, which uniquelly identifies it, not null.