src/Recorder.php
public function dump()
    {
        foreach ($this->tapes as $tape) {
            if ($tape->hasResponses()) {
                $fileName = 'record_'.$tape->getName().'.json';
                $content = $this->formatter->encodeResponsesCollection($tape->getResponses());
                $this->writer->write($fileName, $content);
            }
        }
    }
public function dump()
    {
        foreach ($this->tapes as $tape) {
            if ($tape->hasResponses()) {
                $fileName = 'record_'.$tape->getName().'.json';
                $content = $this->formatter->encodeResponsesCollection($tape->getResponses());
                $this->writer->write($fileName, $content);
            }
        }
    }
public function dump ( ) { foreach ( $ this -> tapes as $ tape ) { if ( $ tape -> hasResponses ( ) ) { $ fileName = 'record_' . $ tape -> getName ( ) . '.json' ; $ content = $ this -> formatter -> encodeResponsesCollection ( $ tape -> getResponses ( ) ) ; $ this -> writer -> write ( $ fileName , $ content ) ; } } }
Dumps the tapes on disk.
Dumps the tapes on disk .