1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-10-25 20:06:05 +02:00
Files
phpapprentice/src/Command/BuildCommand.php
2018-09-02 10:57:36 -05:00

25 lines
584 B
PHP

<?php
namespace Apprentice\Command;
use Apprentice\Build;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class BuildCommand extends Command
{
protected function configure()
{
$this->setName('build')
->setDescription('Builds PHP templates into HTML files.')
->setHelp('Help!');
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$build = new Build;
$build->buildAll();
}
}