You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace Prometeo\CommandsBundle\Commands;
use Symfony\Component\Console\Command\Command as ContainerAwareCommand;use Symfony\Component\Console\Input\InputArgument;use Symfony\Component\Console\Input\InputInterface;use Symfony\Component\Console\Input\InputOption;use Symfony\Component\Console\Output\OutputInterface;use Doctrine\ORM\EntityManagerInterface;use Symfony\Component\DependencyInjection\ContainerInterface;
class GenerateScreenshots extends ContainerAwareCommand{ private $em; public function __construct(ContainerInterface $container) { parent::__construct(); $this->em = $container->get('doctrine')->getManager(); } /** * {@inheritdoc} */ public function configure(): void { $this->setName('prometeo:screenshoots:generate'); $this->addArgument( 'folder', InputArgument::OPTIONAL, 'File with routes to capture' ) ; } /** * {@inheritdoc} */ public function execute(InputInterface $input, OutputInterface $output): void {
}}
|