The class Symfony\Bundle\Framework...d\ContainerAwareCommand has been deprecated with message: since Symfony 4.2, use {@see Command} instead.
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
13
{
14
/** @var ContainerInterface */
15
protected $container;
16
/** @var ObjectManager */
17
protected $em;
18
19
9
protected function configure(): void
20
{
21
9
parent::configure();
22
23
$this
24
9
->setName('statuses:base')
25
9
->setDescription('Base command');
26
9
}
27
28
9
protected function initialize(InputInterface $input, OutputInterface $output): void
29
{
30
9
parent::initialize($input, $output); //initialize parent class method
31
32
9
$this->container = $this->getContainer();
33
34
// This loads Doctrine, you can load your own services as well
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.