/** * @param \OC\Files\Mount\Manager $manager * @param \OC\Files\View $view * @param \OC\User\User $user */ public function __construct($manager, $view, $user) { parent::__construct($this, $view, ''); $this->mountManager = $manager; $this->user = $user; $this->emitter = new PublicEmitter(); }
public function isCreatable() { if ($this->fileInfo) { return parent::isCreatable(); } else { throw new NotFoundException(); } }