lib/BlockCypher/Api/Address.php
public function addTxref($txref)
    {
        if (!$this->getTxrefs()) {
            return $this->setTxrefs(array($txref));
        } else {
            return $this->setTxrefs(
                array_merge($this->getTxrefs(), array($txref))
            );
        }
    }
public function addTxref($txref)
    {
        if (!$this->getTxrefs()) {
            return $this->setTxrefs(array($txref));
        } else {
            return $this->setTxrefs(
                array_merge($this->getTxrefs(), array($txref))
            );
        }
    }
public function addTxref ( $ txref ) { if ( ! $ this -> getTxrefs ( ) ) { return $ this -> setTxrefs ( array ( $ txref ) ) ; } else { return $ this -> setTxrefs ( array_merge ( $ this -> getTxrefs ( ) , array ( $ txref ) ) ) ; } }
Append TXRef to the list.

@param \BlockCypher\Api\TXRef $txref
@return $this
Append TXRef to the list .