Skip to content

Commit

Permalink
$container is no longer available in Fixture class
Browse files Browse the repository at this point in the history
Since ee5eb61, Doctrine\Bundle\FixturesBundle\Fixture does not implement ContainerAwareInterface anymore and thus, $container is not part of this class anymore.

See ee5eb61#diff-8490d6a88059c82df2c98e6f2d0918d2
  • Loading branch information
Greg Ydz authored Apr 2, 2020
1 parent fc785c6 commit 74c6c3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74c6c3e

Please sign in to comment.