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

@return UserToken|null
Gets the confirmation token .