id; } public function getUser() { return $this->user; } public function setUser(User $user) { $this->user = $user; } public function addAuthorization(Authorization $authorization) { $this->authorizations[] = $authorization; $authorization->setRole($this); } }