lib/BlockCypher/Crypto/PrivateKeyList.php
public function addPrivateKey(PrivateKeyInterface $privateKey)
    {
        $pubKeyHex = $privateKey->getPublicKey()->getHex();
        $this->privateKeys[$pubKeyHex] = $privateKey;
    }
public function addPrivateKey(PrivateKeyInterface $privateKey)
    {
        $pubKeyHex = $privateKey->getPublicKey()->getHex();
        $this->privateKeys[$pubKeyHex] = $privateKey;
    }
public function addPrivateKey ( PrivateKeyInterface $ privateKey ) { $ pubKeyHex = $ privateKey -> getPublicKey ( ) -> getHex ( ) ; $ this -> privateKeys [ $ pubKeyHex ] = $ privateKey ; }
Append private key to the list.

@param PrivateKeyInterface $privateKey
@return $this
Append private key to the list .