PHP Interface Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationsDenormalizerInterface

Show file Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
denormalize ( Nelmio\Alice\FixtureInterface $fixture, Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface $parser, array $unparsedSpecs ) : SpecificationBag

Method Details

denormalize() public method

public denormalize ( Nelmio\Alice\FixtureInterface $fixture, Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface $parser, array $unparsedSpecs ) : SpecificationBag
$fixture Nelmio\Alice\FixtureInterface Fixture to which the specifications will be "attached to". Indeed some values may be bound to a scope (e.g. unique values). To guarantee the absolute uniqueness of the values, a good thing is to make them relative to their fixtures. So in practice we often pass the fixture being instantiated and will assign it the specifications bags to it later.
$parser Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface
$unparsedSpecs array
return Nelmio\Alice\Definition\SpecificationBag