lib/BlockCypher/Core/BlockCypherConfigManager.php
public function get($searchKey)
    {
        if (array_key_exists($searchKey, $this->configs)) {
            return $this->configs[$searchKey];
        } else {
            $arr = array();
            foreach ($this->configs as $k => $v) {
                if (strstr($k, $searchKey)) {
                    $arr[$k] = $v;
                }
            }

            return $arr;
        }
    }
public function get($searchKey)
    {
        if (array_key_exists($searchKey, $this->configs)) {
            return $this->configs[$searchKey];
        } else {
            $arr = array();
            foreach ($this->configs as $k => $v) {
                if (strstr($k, $searchKey)) {
                    $arr[$k] = $v;
                }
            }

            return $arr;
        }
    }
public function get ( $ searchKey ) { if ( array_key_exists ( $ searchKey , $ this -> configs ) ) { return $ this -> configs [ $ searchKey ] ; } else { $ arr = array ( ) ; foreach ( $ this -> configs as $ k => $ v ) { if ( strstr ( $ k , $ searchKey ) ) { $ arr [ $ k ] = $ v ; } } return $ arr ; } }
Simple getter for configuration params
If an exact match for key is not found,
does a "contains" search on the key

@param string $searchKey
@return array
Simple getter for configuration params If an exact match for key is not found does a contains search on the key