public function invitationToken()
    {
        // This ternary is a hack that avoids the
        // DoctrineORM limitation with nullable embeddables
        return $this->invitationToken instanceof UserToken
        && null === $this->invitationToken->token()
            ? null
            : $this->invitationToken;
    }
public function invitationToken()
    {
        // This ternary is a hack that avoids the
        // DoctrineORM limitation with nullable embeddables
        return $this->invitationToken instanceof UserToken
        && null === $this->invitationToken->token()
            ? null
            : $this->invitationToken;
    }
public function invitationToken ( ) { // This ternary is a hack that avoids the // DoctrineORM limitation with nullable embeddables return $ this -> invitationToken instanceof UserToken && null === $ this -> invitationToken -> token ( ) ? null : $ this -> invitationToken ; }
Gets the invitation token.

@return UserToken|null
Gets the invitation token .