public function registerDeprecatedHandler($method, $handler) { $this->deprHandlers[$method] = $handler; }