Piwik\Plugins\CustomPiwikJs\Commands\UpdateTracker::execute PHP Метод

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

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $sourceFile = $input->getOption('source-file');
        $targetFile = $input->getOption('target-file');
        $ignoreMinified = (bool) $input->getOption('ignore-minified');
        $this->updateTracker($sourceFile, $targetFile, $ignoreMinified);
        $output->writeln('<info>The Javascript Tracker has been updated</info>');
    }