user = $params['user']; parent::__construct($params); } public function getId(): string { return 'object::user:' . $this->user->getUID(); } /** * get the owner of a path * * @param string $path The path to get the owner * @return string uid */ public function getOwner($path): string { return $this->user->getUID(); } public function getUser(): IUser { return $this->user; } }