Skip to content

Commit

Permalink
[9-13] BlogArticleLoaderクラス
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Dec 28, 2015
1 parent c659d0b commit 4a5716c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/lists/ch09/09-13.txt
@@ -0,0 +1,15 @@
<?php
namespace AppBundle\DataFixtures\ORM;

use Hautelook\AliceBundle\Alice\DataFixtureLoader;
use Nelmio\Alice\Fixtures;

class BlogArticleLoader extends DataFixtureLoader
{
protected function getFixtures()
{
return array(
__DIR__ . '/../../Resources/fixtures/BlogArticle.yml',
);
}
}
15 changes: 15 additions & 0 deletions src/AppBundle/DataFixtures/ORM/BlogArticleLoader.php
@@ -0,0 +1,15 @@
<?php
namespace AppBundle\DataFixtures\ORM;

use Hautelook\AliceBundle\Alice\DataFixtureLoader;
use Nelmio\Alice\Fixtures;

class BlogArticleLoader extends DataFixtureLoader
{
protected function getFixtures()
{
return array(
__DIR__ . '/../../Resources/fixtures/BlogArticle.yml',
);
}
}

0 comments on commit 4a5716c

Please sign in to comment.