PHP Interface Nelmio\Alice\FixtureInterface

Inheritance: extends Nelmio\Alice\FixtureIdInterface
Exibir arquivo Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
getClassName ( ) : string
getSpecs ( ) : SpecificationBag
getValueForCurrent ( ) : string | integer
withSpecs ( SpecificationBag $specs ) : static Creates a new instance with the given specs.

Method Details

getClassName() public method

public getClassName ( ) : string
return string FQCN. May contain flags depending of the implementation.

getSpecs() public method

public getSpecs ( ) : SpecificationBag
return Nelmio\Alice\Definition\SpecificationBag

getValueForCurrent() public method

public getValueForCurrent ( ) : string | integer
return string | integer

withSpecs() public method

Creates a new instance with the given specs.
public withSpecs ( SpecificationBag $specs ) : static
$specs Nelmio\Alice\Definition\SpecificationBag
return static