[DataFixtures] Added a new way to load data fixtures

This commit is contained in:
William DURAND 2011-09-02 15:47:30 +02:00
commit 89beaa97de
3 changed files with 325 additions and 0 deletions

View file

@ -0,0 +1,22 @@
<?php
/**
* This file is part of the PropelBundle package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\PropelBundle\DataFixtures;
interface DataLoaderInterface
{
/**
* Loads data from a set of files.
*
* @param array $files A set of files containing datas to load.
* @param string $connectionName The Propel connection name
*/
function load($files = array(), $connectionName);
}