PHP Class FeatureContext

Inheritance: implements Behat\Behat\Context\Context, implements Behat\Behat\Context\SnippetAcceptingContext
Datei anzeigen Open project: api-platform/api-platform Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Persistence\ManagerRegistry $doctrine ) Initializes context.
createDatabase ( )
dropDatabase ( )

Method Details

__construct() public method

Every scenario gets its own context instance. You can also pass arbitrary arguments to the context constructor through behat.yml.
public __construct ( Doctrine\Common\Persistence\ManagerRegistry $doctrine )
$doctrine Doctrine\Common\Persistence\ManagerRegistry

createDatabase() public method

public createDatabase ( )

dropDatabase() public method

public dropDatabase ( )