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 |
/** * Initializes context. */ public function __construct() { parent::__construct(); }