Prado\Web\Services\TSoapService::init PHP Метод

init() публичный Метод

This method is required by the IModule interface.
public init ( $config )
    public function init($config)
    {
        if ($this->_configFile !== null) {
            if (is_file($this->_configFile)) {
                $dom = new TXmlDocument();
                $dom->loadFromFile($this->_configFile);
                $this->loadConfig($dom);
            } else {
                throw new TConfigurationException('soapservice_configfile_invalid', $this->_configFile);
            }
        }
        $this->loadConfig($config);
        $this->resolveRequest();
    }