PHP Class Nelmio\Alice\Generator\Resolver\Fixture\TemplatingFixtureBag

Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( )
get ( string $id ) : Nelmio\Alice\FixtureInterface
getFixtures ( ) : FixtureBag
getTemplate ( string $id ) : Nelmio\Alice\FixtureInterface
has ( string $id ) : boolean
hasTemplate ( string $id ) : boolean
with ( Nelmio\Alice\FixtureInterface $fixture ) : self

Method Details

__construct() public method

public __construct ( )

get() public method

public get ( string $id ) : Nelmio\Alice\FixtureInterface
$id string
return Nelmio\Alice\FixtureInterface

getFixtures() public method

public getFixtures ( ) : FixtureBag
return Nelmio\Alice\FixtureBag

getTemplate() public method

public getTemplate ( string $id ) : Nelmio\Alice\FixtureInterface
$id string
return Nelmio\Alice\FixtureInterface

has() public method

public has ( string $id ) : boolean
$id string
return boolean

hasTemplate() public method

public hasTemplate ( string $id ) : boolean
$id string
return boolean

with() public method

public with ( Nelmio\Alice\FixtureInterface $fixture ) : self
$fixture Nelmio\Alice\FixtureInterface
return self