Prado\TApplicationConfiguration::loadServicesPhp PHP Метод

loadServicesPhp() защищенный Метод

Loads the services PHP array.
protected loadServicesPhp ( $servicesNode, $configPath )
    protected function loadServicesPhp($servicesNode, $configPath)
    {
        foreach ($servicesNode as $id => $service) {
            if (!isset($service['class'])) {
                throw new TConfigurationException('appconfig_servicetype_required');
            }
            $type = $service['class'];
            $properties = isset($service['properties']) ? $service['properties'] : array();
            unset($service['properties']);
            $properties['id'] = $id;
            $this->_services[$id] = array($type, $properties, $service);
            $this->_empty = false;
        }
    }