/opt/cpanel/ea-wappspector/vendor/clue/phar-composer/src/Command
Edit: /opt/cpanel/ea-wappspector/vendor/clue/phar-composer/src/Command/Build.php (1421B)
packager = $packager;
}
protected function configure()
{
$this->setName('build')
->setDescription('Build phar for the given composer project')
->addArgument('project', InputArgument::OPTIONAL, 'Path to project directory or composer.json', '.')
->addArgument('target', InputArgument::OPTIONAL, 'Path to write phar output to (defaults to project name)');
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->packager->setOutput($output);
$this->packager->coerceWritable();
$pharer = $this->packager->getPharer($input->getArgument('project'));
$target = $input->getArgument('target');
if ($target !== null) {
$pharer->setTarget($target);
}
$pharer->build();
return 0;
}
}