*/ class CachedFileReader extends StringReader implements StreamInterface { public function __construct($filename) { parent::__construct(); $this->_str = file_get_contents($filename); if (false === $this->_str) { return false; } $this->_pos = 0; } }