PHP Class Nelmio\Alice\Loader\NativeLoader

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

Méthodes publiques

Méthode Description
__call ( string $method, array $arguments )
__construct ( Generator $fakerGenerator = null )
loadData ( array $data, array $parameters = [], array $objects = [] ) : ObjectSet
loadFile ( string $file, array $parameters = [], array $objects = [] ) : ObjectSet

Méthodes protégées

Méthode Description
createBuiltInArgumentsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ArgumentsDenormalizerInterface
createBuiltInCaller ( ) : Nelmio\Alice\Generator\CallerInterface
createBuiltInCallsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\CallsDenormalizerInterface
createBuiltInConstructorDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ConstructorDenormalizerInterface
createBuiltInDataLoader ( ) : Nelmio\Alice\DataLoaderInterface
createBuiltInDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\DenormalizerInterface
createBuiltInExpressionLanguageParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
createBuiltInExpressionLanguageTokenParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface
createBuiltInFileLoader ( ) : Nelmio\Alice\FileLoaderInterface
createBuiltInFixtureBagDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FixtureBagDenormalizerInterface
createBuiltInFixtureBuilder ( ) : Nelmio\Alice\FixtureBuilderInterface
createBuiltInFixtureDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\FixtureDenormalizerInterface
createBuiltInFixtureSetResolver ( ) : Nelmio\Alice\Generator\FixtureSetResolverInterface
createBuiltInFlagParser ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface
createBuiltInGenerator ( ) : Nelmio\Alice\GeneratorInterface
createBuiltInHydrator ( ) : Nelmio\Alice\Generator\HydratorInterface
createBuiltInInstantiator ( ) : Nelmio\Alice\Generator\InstantiatorInterface
createBuiltInLexer ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface
createBuiltInObjectGenerator ( ) : Nelmio\Alice\Generator\ObjectGeneratorInterface
createBuiltInParameterResolver ( ) : Nelmio\Alice\Generator\Resolver\ParameterBagResolverInterface
createBuiltInParser ( ) : Nelmio\Alice\ParserInterface
createBuiltInPropertyDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\PropertyDenormalizerInterface
createBuiltInPropertyHydrator ( ) : Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface
createBuiltInValueDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface
createBuiltInValueResolver ( ) : Nelmio\Alice\Generator\ValueResolverInterface
createFakerGenerator ( ) : Generator
createPropertyAccessor ( ) : Symfony\Component\PropertyAccess\PropertyAccessorInterface
getBlacklistedFunctions ( ) : array

Method Details

__call() public méthode

public __call ( string $method, array $arguments )
$method string
$arguments array

__construct() public méthode

public __construct ( Generator $fakerGenerator = null )
$fakerGenerator Faker\Generator

createBuiltInArgumentsDenormalizer() protected méthode

protected createBuiltInArgumentsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ArgumentsDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ArgumentsDenormalizerInterface

createBuiltInCaller() protected méthode

protected createBuiltInCaller ( ) : Nelmio\Alice\Generator\CallerInterface
Résultat Nelmio\Alice\Generator\CallerInterface

createBuiltInCallsDenormalizer() protected méthode

protected createBuiltInCallsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\CallsDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\CallsDenormalizerInterface

createBuiltInConstructorDenormalizer() protected méthode

protected createBuiltInConstructorDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ConstructorDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ConstructorDenormalizerInterface

createBuiltInDataLoader() protected méthode

protected createBuiltInDataLoader ( ) : Nelmio\Alice\DataLoaderInterface
Résultat Nelmio\Alice\DataLoaderInterface

createBuiltInDenormalizer() protected méthode

protected createBuiltInDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\DenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\DenormalizerInterface

createBuiltInExpressionLanguageParser() protected méthode

protected createBuiltInExpressionLanguageParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
Résultat Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

createBuiltInExpressionLanguageTokenParser() protected méthode

protected createBuiltInExpressionLanguageTokenParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface
Résultat Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface

createBuiltInFileLoader() protected méthode

protected createBuiltInFileLoader ( ) : Nelmio\Alice\FileLoaderInterface
Résultat Nelmio\Alice\FileLoaderInterface

createBuiltInFixtureBagDenormalizer() protected méthode

protected createBuiltInFixtureBagDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FixtureBagDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\FixtureBagDenormalizerInterface

createBuiltInFixtureBuilder() protected méthode

protected createBuiltInFixtureBuilder ( ) : Nelmio\Alice\FixtureBuilderInterface
Résultat Nelmio\Alice\FixtureBuilderInterface

createBuiltInFixtureDenormalizer() protected méthode

protected createBuiltInFixtureDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\FixtureDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\FixtureDenormalizerInterface

createBuiltInFixtureSetResolver() protected méthode

protected createBuiltInFixtureSetResolver ( ) : Nelmio\Alice\Generator\FixtureSetResolverInterface
Résultat Nelmio\Alice\Generator\FixtureSetResolverInterface

createBuiltInFlagParser() protected méthode

protected createBuiltInFlagParser ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface

createBuiltInGenerator() protected méthode

protected createBuiltInGenerator ( ) : Nelmio\Alice\GeneratorInterface
Résultat Nelmio\Alice\GeneratorInterface

createBuiltInHydrator() protected méthode

protected createBuiltInHydrator ( ) : Nelmio\Alice\Generator\HydratorInterface
Résultat Nelmio\Alice\Generator\HydratorInterface

createBuiltInInstantiator() protected méthode

protected createBuiltInInstantiator ( ) : Nelmio\Alice\Generator\InstantiatorInterface
Résultat Nelmio\Alice\Generator\InstantiatorInterface

createBuiltInLexer() protected méthode

protected createBuiltInLexer ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface
Résultat Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface

createBuiltInObjectGenerator() protected méthode

protected createBuiltInObjectGenerator ( ) : Nelmio\Alice\Generator\ObjectGeneratorInterface
Résultat Nelmio\Alice\Generator\ObjectGeneratorInterface

createBuiltInParameterResolver() protected méthode

protected createBuiltInParameterResolver ( ) : Nelmio\Alice\Generator\Resolver\ParameterBagResolverInterface
Résultat Nelmio\Alice\Generator\Resolver\ParameterBagResolverInterface

createBuiltInParser() protected méthode

protected createBuiltInParser ( ) : Nelmio\Alice\ParserInterface
Résultat Nelmio\Alice\ParserInterface

createBuiltInPropertyDenormalizer() protected méthode

protected createBuiltInPropertyDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\PropertyDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\PropertyDenormalizerInterface

createBuiltInPropertyHydrator() protected méthode

protected createBuiltInPropertyHydrator ( ) : Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface
Résultat Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface

createBuiltInValueDenormalizer() protected méthode

protected createBuiltInValueDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface
Résultat Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface

createBuiltInValueResolver() protected méthode

protected createBuiltInValueResolver ( ) : Nelmio\Alice\Generator\ValueResolverInterface
Résultat Nelmio\Alice\Generator\ValueResolverInterface

createFakerGenerator() protected méthode

protected createFakerGenerator ( ) : Generator
Résultat Faker\Generator

createPropertyAccessor() protected méthode

protected createPropertyAccessor ( ) : Symfony\Component\PropertyAccess\PropertyAccessorInterface
Résultat Symfony\Component\PropertyAccess\PropertyAccessorInterface

getBlacklistedFunctions() protected méthode

protected getBlacklistedFunctions ( ) : array
Résultat array

loadData() public méthode

public loadData ( array $data, array $parameters = [], array $objects = [] ) : ObjectSet
$data array
$parameters array
$objects array
Résultat Nelmio\Alice\ObjectSet

loadFile() public méthode

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