Started to implement the FixturesLoader command (only yaml works for now)
This commit is contained in:
parent
f16c92580f
commit
fcbbff355c
5 changed files with 755 additions and 0 deletions
27
DataFixtures/Loader/DataLoaderInterface.php
Normal file
27
DataFixtures/Loader/DataLoaderInterface.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?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\Loader;
|
||||
|
||||
/**
|
||||
* Interface that exposes how Propel data loaders should work.
|
||||
*
|
||||
* @author William Durand <william.durand1@gmail.com>
|
||||
*/
|
||||
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
|
||||
*/
|
||||
public function load($files = array(), $connectionName);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue