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; }