Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Updated the load function due to the latest doctrine update. #44

Merged
merged 1 commit into from over 2 years ago

2 participants

Christoph Nißle Benjamin Eberlei
Christoph Nißle

No description provided.

Benjamin Eberlei beberlei merged commit 0922c3f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 27, 2012
Christoph Nißle DerStoffel Updated the load function due to the latest doctrine update. 49e1a23
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 DataFixtures/ORM/SomeOrders.php
5 DataFixtures/ORM/SomeOrders.php
@@ -3,7 +3,8 @@
3 3
4 4 use
5 5 Doctrine\Common\DataFixtures\AbstractFixture,
6   - Doctrine\Common\DataFixtures\OrderedFixtureInterface
  6 + Doctrine\Common\DataFixtures\OrderedFixtureInterface,
  7 + Doctrine\Common\Persistence\ObjectManager
7 8 ;
8 9
9 10 use
@@ -18,7 +19,7 @@ public function getOrder()
18 19 return 3;
19 20 }
20 21
21   - public function load($manager)
  22 + public function load(ObjectManager $manager)
22 23 {
23 24 foreach (array(
24 25 'Patricia S. Kemp' => array('Baked Ziti' => 1, 'Sausage-Broccoli Rabe' => 1),

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.