PHP Class Nelmio\Alice\Loader\NativeLoader

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

Public Methods

Method 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

Protected Methods

Method 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 method

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

__construct() public method

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

createBuiltInArgumentsDenormalizer() protected method

protected createBuiltInArgumentsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ArgumentsDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ArgumentsDenormalizerInterface

createBuiltInCaller() protected method

protected createBuiltInCaller ( ) : Nelmio\Alice\Generator\CallerInterface
return Nelmio\Alice\Generator\CallerInterface

createBuiltInCallsDenormalizer() protected method

protected createBuiltInCallsDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\CallsDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\CallsDenormalizerInterface

createBuiltInConstructorDenormalizer() protected method

protected createBuiltInConstructorDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ConstructorDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ConstructorDenormalizerInterface

createBuiltInDataLoader() protected method

protected createBuiltInDataLoader ( ) : Nelmio\Alice\DataLoaderInterface
return Nelmio\Alice\DataLoaderInterface

createBuiltInDenormalizer() protected method

protected createBuiltInDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\DenormalizerInterface
return Nelmio\Alice\FixtureBuilder\DenormalizerInterface

createBuiltInExpressionLanguageParser() protected method

protected createBuiltInExpressionLanguageParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
return Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

createBuiltInExpressionLanguageTokenParser() protected method

protected createBuiltInExpressionLanguageTokenParser ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface
return Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface

createBuiltInFileLoader() protected method

protected createBuiltInFileLoader ( ) : Nelmio\Alice\FileLoaderInterface
return Nelmio\Alice\FileLoaderInterface

createBuiltInFixtureBagDenormalizer() protected method

protected createBuiltInFixtureBagDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FixtureBagDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\FixtureBagDenormalizerInterface

createBuiltInFixtureBuilder() protected method

protected createBuiltInFixtureBuilder ( ) : Nelmio\Alice\FixtureBuilderInterface
return Nelmio\Alice\FixtureBuilderInterface

createBuiltInFixtureDenormalizer() protected method

protected createBuiltInFixtureDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\FixtureDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\FixtureDenormalizerInterface

createBuiltInFixtureSetResolver() protected method

protected createBuiltInFixtureSetResolver ( ) : Nelmio\Alice\Generator\FixtureSetResolverInterface
return Nelmio\Alice\Generator\FixtureSetResolverInterface

createBuiltInFlagParser() protected method

protected createBuiltInFlagParser ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface

createBuiltInGenerator() protected method

protected createBuiltInGenerator ( ) : Nelmio\Alice\GeneratorInterface
return Nelmio\Alice\GeneratorInterface

createBuiltInHydrator() protected method

protected createBuiltInHydrator ( ) : Nelmio\Alice\Generator\HydratorInterface
return Nelmio\Alice\Generator\HydratorInterface

createBuiltInInstantiator() protected method

protected createBuiltInInstantiator ( ) : Nelmio\Alice\Generator\InstantiatorInterface
return Nelmio\Alice\Generator\InstantiatorInterface

createBuiltInLexer() protected method

protected createBuiltInLexer ( ) : Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface
return Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface

createBuiltInObjectGenerator() protected method

protected createBuiltInObjectGenerator ( ) : Nelmio\Alice\Generator\ObjectGeneratorInterface
return Nelmio\Alice\Generator\ObjectGeneratorInterface

createBuiltInParameterResolver() protected method

protected createBuiltInParameterResolver ( ) : Nelmio\Alice\Generator\Resolver\ParameterBagResolverInterface
return Nelmio\Alice\Generator\Resolver\ParameterBagResolverInterface

createBuiltInParser() protected method

protected createBuiltInParser ( ) : Nelmio\Alice\ParserInterface
return Nelmio\Alice\ParserInterface

createBuiltInPropertyDenormalizer() protected method

protected createBuiltInPropertyDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\PropertyDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\PropertyDenormalizerInterface

createBuiltInPropertyHydrator() protected method

protected createBuiltInPropertyHydrator ( ) : Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface
return Nelmio\Alice\Generator\Hydrator\PropertyHydratorInterface

createBuiltInValueDenormalizer() protected method

protected createBuiltInValueDenormalizer ( ) : Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface
return Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface

createBuiltInValueResolver() protected method

protected createBuiltInValueResolver ( ) : Nelmio\Alice\Generator\ValueResolverInterface
return Nelmio\Alice\Generator\ValueResolverInterface

createFakerGenerator() protected method

protected createFakerGenerator ( ) : Generator
return Faker\Generator

createPropertyAccessor() protected method

protected createPropertyAccessor ( ) : Symfony\Component\PropertyAccess\PropertyAccessorInterface
return Symfony\Component\PropertyAccess\PropertyAccessorInterface

getBlacklistedFunctions() protected method

protected getBlacklistedFunctions ( ) : array
return array

loadData() public method

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

loadFile() public method

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