src/Yoanm/BehatUtilsExtension/Context/Initializer/BehatContextSubscriberInitializer.php
public function clearBehatContextSubscriber()
    {
        foreach ($this->registeredContextList as $context) {
            $this->behatEventDispatcher->removeSubscriber($context);
        }
        $this->registeredContextList = [];
    }
public function clearBehatContextSubscriber()
    {
        foreach ($this->registeredContextList as $context) {
            $this->behatEventDispatcher->removeSubscriber($context);
        }
        $this->registeredContextList = [];
    }
public function clearBehatContextSubscriber ( ) { foreach ( $ this -> registeredContextList as $ context ) { $ this -> behatEventDispatcher -> removeSubscriber ( $ context ) ; } $ this -> registeredContextList = [ ] ; }
Clear contexts subscriber after each scenario/example
Clear contexts subscriber after each scenario / example