|
58
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
namespace Symfony\Bundle\DoctrineFixturesBundle\Tests\Common; |
|
|
4 |
|
|
|
5 |
use Doctrine\Common\DataFixtures\FixtureInterface; |
|
|
6 |
use Symfony\Component\DependencyInjection\ContainerInterface; |
|
|
7 |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
|
|
8 |
|
|
|
9 |
class ContainerAwareFixture implements FixtureInterface, ContainerAwareInterface |
|
|
10 |
{ |
|
|
11 |
public $container; |
|
|
12 |
|
|
|
13 |
public function setContainer(ContainerInterface $container = null) |
|
|
14 |
{ |
|
|
15 |
$this->container = $container; |
|
|
16 |
} |
|
|
17 |
|
|
|
18 |
public function load($manager) |
|
|
19 |
{ |
|
|
20 |
} |
|
|
21 |
} |