protected function configureLicenseKey(InputInterface $input, OutputInterface $output, $licenseKey)
    {
        if (!is_string($licenseKey)) {
            throw new \InvalidArgumentException('Config "licenseKey" must be string type.');
        }

        $licenseFileContent = "<" . "? $" . "LICENSE_KEY = \"" . EscapePHPString($licenseKey) . "\"; ?" . ">";
        File::putFileContents(Application::getDocumentRoot() . BX_ROOT . '/license_key.php', $licenseFileContent);
    }
protected function configureLicenseKey(InputInterface $input, OutputInterface $output, $licenseKey)
    {
        if (!is_string($licenseKey)) {
            throw new \InvalidArgumentException('Config "licenseKey" must be string type.');
        }

        $licenseFileContent = "<" . "? $" . "LICENSE_KEY = \"" . EscapePHPString($licenseKey) . "\"; ?" . ">";
        File::putFileContents(Application::getDocumentRoot() . BX_ROOT . '/license_key.php', $licenseFileContent);
    }
protected function configureLicenseKey ( InputInterface $ input , OutputInterface $ output , $ licenseKey ) { if ( ! is_string ( $ licenseKey ) ) { throw new \ InvalidArgumentException ( 'Config "licenseKey" must be string type.' ) ; } $ licenseFileContent = "<" . "? $" . "LICENSE_KEY = \"" . EscapePHPString ( $ licenseKey ) . "\"; ?" . ">" ; File :: putFileContents ( Application :: getDocumentRoot ( ) . BX_ROOT . '/license_key.php' , $ licenseFileContent ) ; }
Sets license key Bitrix CMS.

@param InputInterface $input
@param OutputInterface $output
@param string $licenseKey
Sets license key Bitrix CMS .