PHP Class Nelmio\Alice\Definition\Value\DynamicArrayValue

Inheritance: implements Nelmio\Alice\Definition\ValueInterface
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( integer | Nelmio\Alice\Definition\ValueInterface $quantifier, string | Nelmio\Alice\Definition\ValueInterface $element )
__toString ( ) : string
getElement ( ) : string | Nelmio\Alice\Definition\ValueInterface
getQuantifier ( ) : integer | Nelmio\Alice\Definition\ValueInterface
getValue ( ) : array

Method Details

__construct() public méthode

public __construct ( integer | Nelmio\Alice\Definition\ValueInterface $quantifier, string | Nelmio\Alice\Definition\ValueInterface $element )
$quantifier integer | Nelmio\Alice\Definition\ValueInterface
$element string | Nelmio\Alice\Definition\ValueInterface

__toString() public méthode

public __toString ( ) : string
Résultat string

getElement() public méthode

public getElement ( ) : string | Nelmio\Alice\Definition\ValueInterface
Résultat string | Nelmio\Alice\Definition\ValueInterface

getQuantifier() public méthode

public getQuantifier ( ) : integer | Nelmio\Alice\Definition\ValueInterface
Résultat integer | Nelmio\Alice\Definition\ValueInterface

getValue() public méthode

public getValue ( ) : array
Résultat array The first element is the quantifier and the second the element.