permission = $permission; $this->folder = $folderItem; $this->userFileOwnerInterface = $user; } /** * Get id * * @return int */ public function getId() { return $this->id; } /** * @param FolderItem $folder * @return FolderOwner */ public function setFolder(FolderItem $folder): FolderOwner { $this->folder = $folder; return $this; } /** * @return FolderItem */ public function getFolder(): FolderItem { return $this->folder; } /** * @param UserFileOwnerInterface $userFileOwnerInterface * @return FolderOwner */ public function setUserFileOwnerInterface(UserFileOwnerInterface $userFileOwnerInterface): FolderOwner { $this->userFileOwnerInterface = $userFileOwnerInterface; return $this; } /** * @return UserFileOwnerInterface */ public function getUserFileOwnerInterface(): UserFileOwnerInterface { return $this->userFileOwnerInterface; } /** * @param int $permission * @return FolderOwner */ public function setPermission(int $permission): FolderOwner { $this->permission = $permission; return $this; } /** * @return int */ public function getPermission(): int { return $this->permission; } }