public function setPublic($path = '') { list($prefix, $path) = $this->filterPrefix($path); if (($fs = $this->getFilesystem($prefix)) === null) { throw new WriteException("No filesystem saved under prefix [{$prefix}]."); } $fs->setPublic($path); }