public function addUser(UserInterface $user) { if (!empty($user)) { $this->users[] = $user; } return $this; }