PHP Interface Newscoop\Service\IErrorHandler

Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
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.

Method Details

error() public method

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() public method

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.