private function init()
    {
        foreach ($this->get(Registry::class)->get('services', []) as $name => $definition) {
            $this->set($name, $definition);
        }
    }
private function init()
    {
        foreach ($this->get(Registry::class)->get('services', []) as $name => $definition) {
            $this->set($name, $definition);
        }
    }
private function init ( ) { foreach ( $ this -> get ( Registry :: class ) -> get ( 'services' , [ ] ) as $ name => $ definition ) { $ this -> set ( $ name , $ definition ) ; } }
Initialize services from registry

@throws \ReflectionException
@throws \Janeiro\Di\Exception
@throws \Janeiro\Di\NotFoundException
Initialize services from registry