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

Afficher le fichier Open project: nelmio/alice Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat Nelmio\Alice\Definition\ValueInterface | mixed