public function phpBehat()
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->getProjectInstance()
            ->setupBehat()
            ->saveComposer()
            ->updateComposer()
            ->initBehat();
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function phpBehat()
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->getProjectInstance()
            ->setupBehat()
            ->saveComposer()
            ->updateComposer()
            ->initBehat();
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function phpBehat ( ) { $ this -> executeCommandHook ( __FUNCTION__ , 'before' ) ; $ this -> getProjectInstance ( ) -> setupBehat ( ) -> saveComposer ( ) -> updateComposer ( ) -> initBehat ( ) ; $ this -> executeCommandHook ( __FUNCTION__ , 'after' ) ; return $ this ; }
Setup Behat configurations and initialize.

@return self
@throws \Exception
@throws \Psr\Container\ContainerExceptionInterface
@throws \Psr\Container\NotFoundExceptionInterface
Setup Behat configurations and initialize .