37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
|
<?php
|
||
|
namespace Cadoles\PortalBundle\Command;
|
||
|
|
||
|
use Symfony\Component\Console\Command\Command;
|
||
|
use Symfony\Component\Console\Input\InputInterface;
|
||
|
use Symfony\Component\Console\Output\OutputInterface;
|
||
|
use Symfony\Component\Finder\Finder;
|
||
|
use Symfony\Component\HttpKernel\KernelInterface;
|
||
|
use Doctrine\DBAL\Connection as DBALConnection;
|
||
|
use Doctrine\ORM\EntityManager;
|
||
|
|
||
|
use Cadoles\CoreBundle\Entity\Group;
|
||
|
use Cadoles\CoreBundle\Entity\UserGroup;
|
||
|
|
||
|
class InitDataCommand extends Command
|
||
|
{
|
||
|
protected function configure()
|
||
|
{
|
||
|
$this
|
||
|
// the name of the command (the part after "bin/console")
|
||
|
->setName('Portal:InitData')
|
||
|
|
||
|
// the short description shown while running "php bin/console list"
|
||
|
->setDescription('Init Data for Portal')
|
||
|
|
||
|
// the full command description shown when running the command with
|
||
|
// the "--help" option
|
||
|
->setHelp('This command Init Data for Portal')
|
||
|
;
|
||
|
}
|
||
|
|
||
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|