File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727use Symfony \Component \Console \Input \InputInterface ;
2828use Symfony \Component \Console \Output \OutputInterface ;
2929use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
30- use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
30+ use Symfony \Component \DependencyInjection \ContainerInterface ;
3131
3232/**
3333 * @author Keith Kirk <kkirk@undergroundelephant.com>
3434 */
3535class QueueBuildCommand extends Command implements ContainerAwareInterface
3636{
37- use ContainerAwareTrait;
37+ /**
38+ * @var ContainerInterface
39+ *
40+ * @api
41+ */
42+ protected $ container ;
43+
44+ /**
45+ * Sets the Container associated with this Controller.
46+ *
47+ * @param ContainerInterface $container A ContainerInterface instance
48+ *
49+ * @api
50+ */
51+ public function setContainer (ContainerInterface $ container = null )
52+ {
53+ $ this ->container = $ container ;
54+ }
3855
3956 protected $ output ;
4057
Original file line number Diff line number Diff line change 2828use Symfony \Component \Console \Input \InputOption ;
2929use Symfony \Component \Console \Output \OutputInterface ;
3030use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
31- use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
31+ use Symfony \Component \DependencyInjection \ContainerInterface ;
3232
3333/**
3434 * @author Keith Kirk <kkirk@undergroundelephant.com>
3535 */
3636class QueueDestroyCommand extends Command implements ContainerAwareInterface
3737{
38- use ContainerAwareTrait;
38+ /**
39+ * @var ContainerInterface
40+ *
41+ * @api
42+ */
43+ protected $ container ;
44+
45+ /**
46+ * Sets the Container associated with this Controller.
47+ *
48+ * @param ContainerInterface $container A ContainerInterface instance
49+ *
50+ * @api
51+ */
52+ public function setContainer (ContainerInterface $ container = null )
53+ {
54+ $ this ->container = $ container ;
55+ }
3956
4057 protected $ output ;
4158
Original file line number Diff line number Diff line change 2727use Symfony \Component \Console \Input \InputInterface ;
2828use Symfony \Component \Console \Output \OutputInterface ;
2929use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
30- use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
30+ use Symfony \Component \DependencyInjection \ContainerInterface ;
3131
3232/**
3333 * @author Keith Kirk <kkirk@undergroundelephant.com>
3434 */
3535class QueuePublishCommand extends Command implements ContainerAwareInterface
3636{
37- use ContainerAwareTrait;
37+ /**
38+ * @var ContainerInterface
39+ *
40+ * @api
41+ */
42+ protected $ container ;
43+
44+ /**
45+ * Sets the Container associated with this Controller.
46+ *
47+ * @param ContainerInterface $container A ContainerInterface instance
48+ *
49+ * @api
50+ */
51+ public function setContainer (ContainerInterface $ container = null )
52+ {
53+ $ this ->container = $ container ;
54+ }
3855
3956 protected $ output ;
4057
Original file line number Diff line number Diff line change 2727use Symfony \Component \Console \Input \InputInterface ;
2828use Symfony \Component \Console \Output \OutputInterface ;
2929use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
30- use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
30+ use Symfony \Component \DependencyInjection \ContainerInterface ;
3131use Uecode \Bundle \QPushBundle \Event \Events ;
3232use Uecode \Bundle \QPushBundle \Event \MessageEvent ;
3333
3636 */
3737class QueueReceiveCommand extends Command implements ContainerAwareInterface
3838{
39- use ContainerAwareTrait;
39+ /**
40+ * @var ContainerInterface
41+ *
42+ * @api
43+ */
44+ protected $ container ;
45+
46+ /**
47+ * Sets the Container associated with this Controller.
48+ *
49+ * @param ContainerInterface $container A ContainerInterface instance
50+ *
51+ * @api
52+ */
53+ public function setContainer (ContainerInterface $ container = null )
54+ {
55+ $ this ->container = $ container ;
56+ }
4057
4158 protected $ output ;
4259
You can’t perform that action at this time.
0 commit comments