Elcodi\Bridge\BehatBridgeBundle\DoctrineContext::prepare PHP Method

prepare() public method

public prepare ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\BeforeScenarioScope
    public function prepare(BeforeScenarioScope $scope)
    {
        gc_collect_cycles();
        $this->checkDoctrineConnection()->executeCommand('doctrine:database:drop', ['--force' => true])->checkDoctrineConnection()->executeCommand('doctrine:database:create')->executeCommand('doctrine:schema:create')->loadCommonFixtures()->loadLocationFixtures()->executeCommand('elcodi:plugins:load')->executeCommand('assets:install')->executeCommand('assetic:dump');
    }