protected function stripBasePath($path) { return ltrim(str_replace($this->basePath, '', $path), '/'); }