class DoctrineCommand extends Command implements ContainerAwareInterface

Base class for Doctrine console commands to extend from.

Based on the DoctrineCommand from the Symfony DoctrineBundle

Traits

Methods

setContainer(ContainerInterface $container = null)

Sets the Container.

Details

in ContainerAwareTrait at line 28
setContainer(ContainerInterface $container = null)

Sets the Container.

Parameters

ContainerInterface $container A ContainerInterface instance or null