for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Xervice\Database\Communication\Console\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Xervice\Console\Business\Model\Command\AbstractCommand;
/**
* @method \Xervice\Database\Business\DatabaseFacade getFacade()
*/
class ModelBuildCommand extends AbstractCommand
{
*
* @throws \Symfony\Component\Console\Exception\InvalidArgumentException
protected function configure(): void
$this->setName('propel:model:build')
->setDescription('Generate propel models');
}
* @param \Symfony\Component\Console\Input\InputInterface $input
* @param \Symfony\Component\Console\Output\OutputInterface $output
* @return int|null|void
protected function execute(InputInterface $input, OutputInterface $output)
foreach ($this->getFacade()->buildModel() as $line) {
$output->write($line);