public function getUsers()
    {
        if ($this->users === null) {
            $this->setUsers($this->userRepository->getAllByEnvironment($this));
        }
        return $this->users;
    }
public function getUsers()
    {
        if ($this->users === null) {
            $this->setUsers($this->userRepository->getAllByEnvironment($this));
        }
        return $this->users;
    }
public function getUsers ( ) { if ( $ this -> users === null ) { $ this -> setUsers ( $ this -> userRepository -> getAllByEnvironment ( $ this ) ) ; } return $ this -> users ; }
Get Users.

@return UserInterface[]
Get Users .