[DataFixtures] Added a new way to load data fixtures
This commit is contained in:
parent
10e3ef44e7
commit
89beaa97de
3 changed files with 325 additions and 0 deletions
22
DataFixtures/DataLoaderInterface.php
Normal file
22
DataFixtures/DataLoaderInterface.php
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue