private function setXliffDirectory(InputInterface $input, OutputInterface $output)
    {
        $this->txlang = $input->getOption('xliff');

        if ($this->txlang === null) {
            $this->txlang = $this->getTransifexConfigValue('/languages_tx');

            if ($this->txlang === null) {
                throw new \RuntimeException('Error: unable to determine transifex root folder.');
            }
            $this->writelnVerbose($output, sprintf('<info>automatically using xliff folder: %s</info>', $this->txlang));
        }
    }
private function setXliffDirectory(InputInterface $input, OutputInterface $output)
    {
        $this->txlang = $input->getOption('xliff');

        if ($this->txlang === null) {
            $this->txlang = $this->getTransifexConfigValue('/languages_tx');

            if ($this->txlang === null) {
                throw new \RuntimeException('Error: unable to determine transifex root folder.');
            }
            $this->writelnVerbose($output, sprintf('<info>automatically using xliff folder: %s</info>', $this->txlang));
        }
    }
private function setXliffDirectory ( InputInterface $ input , OutputInterface $ output ) { $ this -> txlang = $ input -> getOption ( 'xliff' ) ; if ( $ this -> txlang === null ) { $ this -> txlang = $ this -> getTransifexConfigValue ( '/languages_tx' ) ; if ( $ this -> txlang === null ) { throw new \ RuntimeException ( 'Error: unable to determine transifex root folder.' ) ; } $ this -> writelnVerbose ( $ output , sprintf ( '<info>automatically using xliff folder: %s</info>' , $ this -> txlang ) ) ; } }
Set the xliff directory, either from command line parameter or from config.

@param InputInterface  $input  The input to use.

@param OutputInterface $output The output to use.

@return void

@throws \RuntimeException When the value can not be determined.
Set the xliff directory either from command line parameter or from config .