PHP Class Nelmio\Alice\Definition\Fixture\SimpleFixture

Inheritance: implements Nelmio\Alice\FixtureInterface
Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method 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 method

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

getClassName() public method

public getClassName ( ) : string
return string

getId() public method

public getId ( ) : string
return string

getSpecs() public method

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

getValueForCurrent() public method

public getValueForCurrent ( )

withSpecs() public method

public withSpecs ( SpecificationBag $specs ) : self
$specs Nelmio\Alice\Definition\SpecificationBag
return self