lib/BlockCypher/Api/TX.php
public function addInput($input)
    {
        if (!$this->getInputs()) {
            return $this->setInputs(array($input));
        } else {
            return $this->setInputs(
                array_merge($this->getInputs(), array($input))
            );
        }
    }
public function addInput($input)
    {
        if (!$this->getInputs()) {
            return $this->setInputs(array($input));
        } else {
            return $this->setInputs(
                array_merge($this->getInputs(), array($input))
            );
        }
    }
public function addInput ( $ input ) { if ( ! $ this -> getInputs ( ) ) { return $ this -> setInputs ( array ( $ input ) ) ; } else { return $ this -> setInputs ( array_merge ( $ this -> getInputs ( ) , array ( $ input ) ) ) ; } }
Append TXInput to the list.

@param \BlockCypher\Api\TXInput $input
@return \BlockCypher\Api\TXInput[]
Append TXInput to the list .