src/Fyuze/Kernel/Fyuze.php
protected function registerServices()
    {
        $services = array_filter($this->config->get('app.services'), function ($service) {
            return class_exists($service);
        });

        foreach ($services as $service) {
            /** @var \Fyuze\Kernel\Service $obj */
            $obj = new $service($this->container);
            $obj->services();

            $this->services[] = $obj;
        }
    }
protected function registerServices()
    {
        $services = array_filter($this->config->get('app.services'), function ($service) {
            return class_exists($service);
        });

        foreach ($services as $service) {
            /** @var \Fyuze\Kernel\Service $obj */
            $obj = new $service($this->container);
            $obj->services();

            $this->services[] = $obj;
        }
    }
protected function registerServices ( ) { $ services = array_filter ( $ this -> config -> get ( 'app.services' ) , function ( $ service ) { return class_exists ( $ service ) ; } ) ; foreach ( $ services as $ service ) { /** @var \Fyuze\Kernel\Service $obj */ $ obj = new $ service ( $ this -> container ) ; $ obj -> services ( ) ; $ this -> services [ ] = $ obj ; } }
Registers all defined services

@return void
Registers all defined services