From 74c6c3e02a8485aa8d71767dd3a1f853a6f1db1d Mon Sep 17 00:00:00 2001 From: Greg Ydz Date: Thu, 2 Apr 2020 15:11:42 +0200 Subject: [PATCH] $container is no longer available in Fixture class Since ee5eb61, Doctrine\Bundle\FixturesBundle\Fixture does not implement ContainerAwareInterface anymore and thus, $container is not part of this class anymore. See https://github.com/doctrine/DoctrineFixturesBundle/commit/ee5eb61#diff-8490d6a88059c82df2c98e6f2d0918d2 --- Resources/doc/index.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index c1c0f392..34113514 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -134,10 +134,6 @@ injection:: } } -You can also access the container via the ``$this->container`` property. -But remember that not *all* services (i.e. private services) can be accessed -directly via the container. - .. _multiple-files: Splitting Fixtures into Separate Files