lib/BlockCypher/Api/TXSkeleton.php
public function addPubkey($pubkey)
    {
        if (!$this->getPubkeys()) {
            return $this->setPubkeys(array($pubkey));
        } else {
            return $this->setPubkeys(
                array_merge($this->getPubkeys(), array($pubkey))
            );
        }
    }
public function addPubkey($pubkey)
    {
        if (!$this->getPubkeys()) {
            return $this->setPubkeys(array($pubkey));
        } else {
            return $this->setPubkeys(
                array_merge($this->getPubkeys(), array($pubkey))
            );
        }
    }
public function addPubkey ( $ pubkey ) { if ( ! $ this -> getPubkeys ( ) ) { return $ this -> setPubkeys ( array ( $ pubkey ) ) ; } else { return $ this -> setPubkeys ( array_merge ( $ this -> getPubkeys ( ) , array ( $ pubkey ) ) ) ; } }
Append Pubkey to the list.

@param string $pubkey
@return $this
Append Pubkey to the list .