protected function _attainCService($name)
    {
        $name   = $this->getExtended($name);

        $cName  = $this->_normalizeName($name);
        $return = (isset($this->services[$cName])) ? $this->services[$cName] : false;

        // Aggregate Feature:
        if ($return === false) {
            ## Looking in Aggregate Feature Services
            /** @var iServiceFeatureAggregate $inService */
            foreach ($this->services_aggregate as $inService)
                if ($inService->canCreate($name))
                    return $inService->withServiceName($name);
        }

        return $return;
    }
protected function _attainCService($name)
    {
        $name   = $this->getExtended($name);

        $cName  = $this->_normalizeName($name);
        $return = (isset($this->services[$cName])) ? $this->services[$cName] : false;

        // Aggregate Feature:
        if ($return === false) {
            ## Looking in Aggregate Feature Services
            /** @var iServiceFeatureAggregate $inService */
            foreach ($this->services_aggregate as $inService)
                if ($inService->canCreate($name))
                    return $inService->withServiceName($name);
        }

        return $return;
    }
protected function _attainCService ( $ name ) { $ name = $ this -> getExtended ( $ name ) ; $ cName = $ this -> _normalizeName ( $ name ) ; $ return = ( isset ( $ this -> services [ $ cName ] ) ) ? $ this -> services [ $ cName ] : false ; // Aggregate Feature: if ( $ return === false ) { ## Looking in Aggregate Feature Services /** @var iServiceFeatureAggregate $inService */ foreach ( $ this -> services_aggregate as $ inService ) if ( $ inService -> canCreate ( $ name ) ) return $ inService -> withServiceName ( $ name ) ; } return $ return ; }
Achieve Service From Name

@param string $name Service name

@return iContainerService|false
@throws \Exception
Achieve Service From Name