* updated traits based on the changes to mink context parameter settings
This commit is contained in:
@@ -46,6 +46,16 @@ trait MinkDictionary
|
||||
return $this->mink;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the parameters provided for Mink.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getMinkParameters()
|
||||
{
|
||||
return $this->minkParameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets parameters provided for Mink.
|
||||
*
|
||||
@@ -68,6 +78,18 @@ trait MinkDictionary
|
||||
return isset($this->minkParameters[$name]) ? $this->minkParameters[$name] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies the given parameter to the Mink configuration. Consider that all parameters get reset for each
|
||||
* feature context.
|
||||
*
|
||||
* @param string $name The key of the parameter
|
||||
* @param string $value The value of the parameter
|
||||
*/
|
||||
public function setMinkParameter($name, $value)
|
||||
{
|
||||
$this->minkParameters[$name] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns Mink session.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user