private function orm()
    {
        if (env('LOAD_ORM')) {
            $capsule = new \Illuminate\Database\Capsule\Manager();
            $connections = require $this->config['paths']['database'];
            foreach ($connections as $connection) {
                $name = $connection['name'];
                unset($connection['name']);
                $capsule->addConnection($connection, $name);
            }
            $capsule->setEventDispatcher(
                new \Illuminate\Events\Dispatcher(
                    new \Illuminate\Container\Container()
                )
            );
            $capsule->setAsGlobal();
            $capsule->bootEloquent();
        }
    }