/** * {@inheritdoc} */ public function getContent() { $content = $this->source->getContent($this); if (false === $content) { throw new File\NotFoundException("Unable to get content for '{$this->getPath()}'"); } return $content; }
/** * {@inheritdoc} */ public function getContent() { return (string) $this->source->getContent($this); }