Ejemplo n.º 1
0
 /**
  * Sets the current mode.
  *
  * @param string $mode The mode to set VCR to
  *
  * @return Configuration
  */
 public function setMode($mode)
 {
     Assertion::choice($mode, $this->availableModes, "Mode '{$mode}' does not exist.");
     $this->mode = $mode;
     return $this;
 }