public function resolveLocalPath($path);
/** * Returns the relative path to the resource based on the repository path * * @return string */ public function getLocalPath() { if (!$this->localPath) { $this->localPath = $this->repository->resolveLocalPath($this->fullPath); } return $this->localPath; }