PHP Interface Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\ValueDenormalizerInterface

Show file Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
denormalize ( Nelmio\Alice\FixtureInterface $scope, FlagBag $flags = null, mixed $value ) : Nelmio\Alice\Definition\ValueInterface | mixed Denormalizes a given value. For example, will denormalize '$username' into a VariableValue.

Method Details

denormalize() public method

Denormalizes a given value. For example, will denormalize '$username' into a VariableValue.
public denormalize ( Nelmio\Alice\FixtureInterface $scope, FlagBag $flags = null, mixed $value ) : Nelmio\Alice\Definition\ValueInterface | mixed
$scope Nelmio\Alice\FixtureInterface Used for unique values for example.
$flags Nelmio\Alice\Definition\FlagBag
$value mixed
return Nelmio\Alice\Definition\ValueInterface | mixed