permission = $permission; $this->folder = $folder; $this->userGroup = $group; } /** * @return int|mixed */ public function getId() { return $this->id; } /** * Set permission * * @param integer $permission * * @return FolderGroupPermission */ public function setPermission($permission) { $this->permission = $permission; return $this; } /** * Get permission * * @return int */ public function getPermission() { return $this->permission; } /** * @param mixed $userGroup * @return FolderGroupPermission */ public function setUserGroup($userGroup) { $this->userGroup = $userGroup; return $this; } /** * @return mixed */ public function getUserGroup() { return $this->userGroup; } /** * @param FolderItemInterface $folder * @return FolderGroupPermission */ public function setFolder(FolderItemInterface $folder): FolderGroupPermission { $this->folder = $folder; return $this; } /** * @return FileItem */ public function getFolder(): FileItem { return $this->folder; } }