public function singleView()
    {
        return [
            'id' => $this->getId(),
            'displayName' => $this->getDisplayName(),
            'roles' => $this->getRoles(),
            'email' => $this->getEmail(),
            'bio' => $this->getBio()
        ];
    }
public function singleView()
    {
        return [
            'id' => $this->getId(),
            'displayName' => $this->getDisplayName(),
            'roles' => $this->getRoles(),
            'email' => $this->getEmail(),
            'bio' => $this->getBio()
        ];
    }
public function singleView ( ) { return [ 'id' => $ this -> getId ( ) , 'displayName' => $ this -> getDisplayName ( ) , 'roles' => $ this -> getRoles ( ) , 'email' => $ this -> getEmail ( ) , 'bio' => $ this -> getBio ( ) ] ; }
Return an array of the view for displaying as a single item

@return array
Return an array of the view for displaying as a single item