Prado\Wsat\TWsatService::init PHP Метод

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

public init ( $config )
    public function init($config)
    {
        if ($this->getApplication()->getMode() === TApplicationMode::Performance || $this->getApplication()->getMode() === TApplicationMode::Normal) {
            throw new TInvalidOperationException("You should not use Prado WSAT in any of the production modes.");
        }
        if (empty($this->_pass)) {
            throw new TConfigurationException("You need to specify the Password attribute.");
        }
        $this->setDefaultPage("TWsatHome");
        $this->_startThemeManager();
        parent::init($config);
    }