/** * Returns the content of a specific tape without writing it to disk. * * @param string $name * * @return null|string */ public function getTapeContent($name) { $tape = $this->getTape($name); if ($tape->hasResponses()) { $content = $this->formatter->encodeResponsesCollection($tape->getResponses()); return $content; } return; }