src/VCR/Configuration.php
public function setMode($mode)
    {
        Assertion::choice($mode, $this->availableModes, "Mode '{$mode}' does not exist.");
        $this->mode = $mode;

        return $this;
    }
public function setMode($mode)
    {
        Assertion::choice($mode, $this->availableModes, "Mode '{$mode}' does not exist.");
        $this->mode = $mode;

        return $this;
    }
public function setMode ( $ mode ) { Assertion :: choice ( $ mode , $ this -> availableModes , "Mode '{$mode}' does not exist." ) ; $ this -> mode = $ mode ; return $ this ; }
Sets the current mode.

@param string $mode The mode to set VCR to

@return Configuration
Sets the current mode .