PHP Interface Nelmio\Alice\FileLoaderInterface

Datei anzeigen Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
loadFile ( string $file, array $parameters = [], array $objects = [] ) : ObjectSet Loads a fixture file.

Method Details

loadFile() public method

Loads a fixture file.
public loadFile ( string $file, array $parameters = [], array $objects = [] ) : ObjectSet
$file string File to load.
$parameters array Additional parameters to inject.
$objects array Additional objects to inject.
return ObjectSet Contains the list of objects and parameters loaded and injected.