Ergo\Error\ErrorProxy::register PHP Метод

register() публичный Метод

Registers the error handler with PHP
public register ( )
    function register()
    {
        set_error_handler(array($this, '_handleError'));
        set_exception_handler(array($this, '_handleException'));
        register_shutdown_function(array($this, '_shutdown'));
        $this->_registered = true;
        return $this;
    }