protected function registerCustomCommands() { trigger_error(__METHOD__ . ' moved, use getConfig()->registerCustomCommands() instead', E_USER_DEPRECATED); $this->config->registerCustomCommands($this); }