lib/BlockCypher/Api/HDWallet.php
public function addSubchainIndex($subchainIndex)
    {
        if (!$this->getSubchainIndexes()) {
            return $this->setSubchainIndexes(array($subchainIndex));
        } else {
            return $this->setSubchainIndexes(
                array_merge($this->getSubchainIndexes(), array($subchainIndex))
            );
        }
    }
public function addSubchainIndex($subchainIndex)
    {
        if (!$this->getSubchainIndexes()) {
            return $this->setSubchainIndexes(array($subchainIndex));
        } else {
            return $this->setSubchainIndexes(
                array_merge($this->getSubchainIndexes(), array($subchainIndex))
            );
        }
    }
public function addSubchainIndex ( $ subchainIndex ) { if ( ! $ this -> getSubchainIndexes ( ) ) { return $ this -> setSubchainIndexes ( array ( $ subchainIndex ) ) ; } else { return $ this -> setSubchainIndexes ( array_merge ( $ this -> getSubchainIndexes ( ) , array ( $ subchainIndex ) ) ) ; } }
Append subchain index to the list.

@param int $subchainIndex
@return $this
Append subchain index to the list .