/** * Update file when path manager is set up * * @param Path $path */ protected function onPathUpdate(Path $path) { $this->file->dir = $this->url->pathToUrl($path->relativePath()); $this->thumb->setPath($path); }
/** * Update file when path manager is set up * * @param Path $path */ protected function onPathUpdate(Path $path) { $this->file->setPath($path); $this->thumb->setPath($path); }