public function isShareable() { if ($this->fileInfo) { return parent::isShareable(); } else { throw new NotFoundException(); } }