id = $id; $this->filesystem = $flySystem; $this->prefix = $prefix; } /** * @return mixed */ public function getId() { return $this->id; } /** * @return FilesystemInterface * @throws \common_Exception */ protected function getFileSystem() { return $this->filesystem; } /** * Get the Adapter. * * @return AdapterInterface adapter */ private function getAdapter() { return $this->getFileSystem()->getAdapter(); } protected function getFullPath($path) { return $this->prefix . '/' . $path; } }