registerInstance(); } public function loadConfig() { return require __DIR__ . DIRECTORY_SEPARATOR . 'config.php'; } /** * @return string */ public function loadRouteFrom() { // TODO: Implement loadRouteFrom() method. return __DIR__ . DIRECTORY_SEPARATOR . 'route.php'; } /** * */ protected function registerInstance() { $default = config('catch.domains.default'); $this->app->instance(DomainActionInterface::class, $this->app->make(__NAMESPACE__ . '\\support\\driver\\' . $default . '\Domain')); $this->app->instance(DomainRecordInterface::class, $this->app->make(__NAMESPACE__ . '\\support\\driver\\' . $default . '\DomainRecord')); } }