protected function getInjectors()
    {
        if (empty($this->injectors)) {
            try {
                foreach(array_keys($this->getOptions()) as $injectorName) {
                    /** @var Injector $injector */
                    $injector = $this->getSubService($injectorName, Injector::class);
                    $injector->createInjectorHelpers();
                    $this->injectors[$injectorName] = $injector;
                }
            } catch (ServiceNotFoundException $e) {
                throw new InconsistencyConfigException($e->getMessage());
            } catch (InvalidService $e) {
                throw new InconsistencyConfigException($e->getMessage());
            }

            if (empty($this->injectors)) {
                throw new InconsistencyConfigException('No injector found into config.');
            }
        }
        return $this->injectors;
    }
protected function getInjectors()
    {
        if (empty($this->injectors)) {
            try {
                foreach(array_keys($this->getOptions()) as $injectorName) {
                    /** @var Injector $injector */
                    $injector = $this->getSubService($injectorName, Injector::class);
                    $injector->createInjectorHelpers();
                    $this->injectors[$injectorName] = $injector;
                }
            } catch (ServiceNotFoundException $e) {
                throw new InconsistencyConfigException($e->getMessage());
            } catch (InvalidService $e) {
                throw new InconsistencyConfigException($e->getMessage());
            }

            if (empty($this->injectors)) {
                throw new InconsistencyConfigException('No injector found into config.');
            }
        }
        return $this->injectors;
    }
protected function getInjectors ( ) { if ( empty ( $ this -> injectors ) ) { try { foreach ( array_keys ( $ this -> getOptions ( ) ) as $ injectorName ) { /** @var Injector $injector */ $ injector = $ this -> getSubService ( $ injectorName , Injector :: class ) ; $ injector -> createInjectorHelpers ( ) ; $ this -> injectors [ $ injectorName ] = $ injector ; } } catch ( ServiceNotFoundException $ e ) { throw new InconsistencyConfigException ( $ e -> getMessage ( ) ) ; } catch ( InvalidService $ e ) { throw new InconsistencyConfigException ( $ e -> getMessage ( ) ) ; } if ( empty ( $ this -> injectors ) ) { throw new InconsistencyConfigException ( 'No injector found into config.' ) ; } } return $ this -> injectors ; }
Get metadata injectors from config

@return Injector[]
@throws InconsistencyConfigException
Get metadata injectors from config