title: How can i get the Parameters from Behat.yml to a php file?
body: <p>I have a Behat.yml</p>
  
  <pre><code>  default :
       context :
         parameters :
              user: xyz
              password : abc
  </code></pre>
  
  <p>Also i have a file called FeatureContext.php which retrieves the values from behat.yml through</p>
  
  <pre><code>   public function iExample($user, $password)
      {
         $userName=$this-&gt;getParameter($user);
      }
  </code></pre>
  
  <p>But it throws an error like </p>
  
  <pre><code>   "Call to undefined method FeatureContext::getParameter()"
  </code></pre>
  
  <p>Am i missing something ? .. i have also added autoload.php in FeatureContext.php through </p>
  
  <pre><code>   require_once __DIR__.'/../../vendor/autoload.php';
  </code></pre>
  
  <p>Please let know , if you have any idea why it is happening ?</p>