public function replaceMocksWithConditions()
    {
        foreach ($this->parameters as $parameter => $condition) {
            $this->regrex = preg_replace("/{{$parameter}}/", $condition, $this->regrex);
        }

        return $this;
    }
public function replaceMocksWithConditions()
    {
        foreach ($this->parameters as $parameter => $condition) {
            $this->regrex = preg_replace("/{{$parameter}}/", $condition, $this->regrex);
        }

        return $this;
    }
public function replaceMocksWithConditions ( ) { foreach ( $ this -> parameters as $ parameter => $ condition ) { $ this -> regrex = preg_replace ( "/{{$parameter}}/" , $ condition , $ this -> regrex ) ; } return $ this ; }
Replaces mocked pararameters with conditions in regrex string.

@return self
Replaces mocked pararameters with conditions in regrex string .