src/Scenario/ScenarioYamlBuilder.php
public function setParameter(string $parameterName, $object): ScenarioYamlBuilder
    {
        $this->parameters['$'.$parameterName] = $object;

        return $this;
    }
public function setParameter(string $parameterName, $object): ScenarioYamlBuilder
    {
        $this->parameters['$'.$parameterName] = $object;

        return $this;
    }
To register a parameter to use during yaml parsing.

@param string $parameterName
@param $object

@return ScenarioYamlBuilder