symfony/symfony — Issue #3509: Documentation bug on data fixtures
Author: MichaelColeAmbiguity
Created: 2012-03-05 22:46:00+00:00
State: open

Hey, there's a documentation bug on this page:
http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html

It links in from the main Symfony2 book from this page:
http://symfony.com/doc/current/book/doctrine.html

See here for good code:
https://github.com/doctrine/data-fixtures/blob/master/README.md

To the examples, add the proper function declaration, and imports:
use Doctrine\Common\Persistence\ObjectManager;
...
public function load(ObjectManager $manager) {

Thanks!