public function revokeTrustline(Asset $asset, $trustorId, $sourceAccountId = null)
    {
        if ($trustorId instanceof Keypair) {
            $trustorId = $trustorId->getPublicKey();
        }

        $op = new AllowTrustOp($asset, new AccountId($trustorId), $sourceAccountId);
        $op->setIsAuthorized(false);

        return $this->addOperation($op);
    }
public function revokeTrustline(Asset $asset, $trustorId, $sourceAccountId = null)
    {
        if ($trustorId instanceof Keypair) {
            $trustorId = $trustorId->getPublicKey();
        }

        $op = new AllowTrustOp($asset, new AccountId($trustorId), $sourceAccountId);
        $op->setIsAuthorized(false);

        return $this->addOperation($op);
    }
public function revokeTrustline ( Asset $ asset , $ trustorId , $ sourceAccountId = null ) { if ( $ trustorId instanceof Keypair ) { $ trustorId = $ trustorId -> getPublicKey ( ) ; } $ op = new AllowTrustOp ( $ asset , new AccountId ( $ trustorId ) , $ sourceAccountId ) ; $ op -> setIsAuthorized ( false ) ; return $ this -> addOperation ( $ op ) ; }
This is called by asset issuers to revoke a trustline established by
a client account

@param Asset $asset
@param       $trustorId
@param null  $sourceAccountId
@return TransactionBuilder
This is called by asset issuers to revoke a trustline established by a client account