src/Behat/Behat/Context/ContextFactory.php
private function initializeInstance(Context $context)
    {
        foreach ($this->contextInitializers as $initializer) {
            $initializer->initializeContext($context);
        }
    }
private function initializeInstance(Context $context)
    {
        foreach ($this->contextInitializers as $initializer) {
            $initializer->initializeContext($context);
        }
    }
private function initializeInstance ( Context $ context ) { foreach ( $ this -> contextInitializers as $ initializer ) { $ initializer -> initializeContext ( $ context ) ; } }
Initializes context class and returns new context instance.

@param Context $context
Initializes context class and returns new context instance .