public function registerAction($name, $method = null) { $this->register('actions', $name, $method); }