PHP Class Nelmio\Alice\Loader\SimpleFileLoader

Inheritance: implements Nelmio\Alice\FileLoaderInterface, use trait Nelmio\Alice\IsAServiceTrait
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Nelmio\Alice\ParserInterface $parser, Nelmio\Alice\DataLoaderInterface $dataLoader )
loadFile ( string $file, array $parameters = [], array $objects = [] ) : ObjectSet

Method Details

__construct() public méthode

public __construct ( Nelmio\Alice\ParserInterface $parser, Nelmio\Alice\DataLoaderInterface $dataLoader )
$parser Nelmio\Alice\ParserInterface
$dataLoader Nelmio\Alice\DataLoaderInterface

loadFile() public méthode

public loadFile ( string $file, array $parameters = [], array $objects = [] ) : ObjectSet
$file string
$parameters array
$objects array
Résultat Nelmio\Alice\ObjectSet