PHP Class Nelmio\Alice\Definition\Fixture\SimpleFixture

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

Méthodes publiques

Méthode Description
__construct ( string $id, string $className, SpecificationBag $specs, string $valueForCurrent = null )
getClassName ( ) : string
getId ( ) : string
getSpecs ( ) : SpecificationBag
getValueForCurrent ( )
withSpecs ( SpecificationBag $specs ) : self

Method Details

__construct() public méthode

public __construct ( string $id, string $className, SpecificationBag $specs, string $valueForCurrent = null )
$id string
$className string
$specs Nelmio\Alice\Definition\SpecificationBag
$valueForCurrent string

getClassName() public méthode

public getClassName ( ) : string
Résultat string

getId() public méthode

public getId ( ) : string
Résultat string

getSpecs() public méthode

public getSpecs ( ) : SpecificationBag
Résultat Nelmio\Alice\Definition\SpecificationBag

getValueForCurrent() public méthode

public getValueForCurrent ( )

withSpecs() public méthode

public withSpecs ( SpecificationBag $specs ) : self
$specs Nelmio\Alice\Definition\SpecificationBag
Résultat self