src/Guzzle/Common/Collection.php
public function inject($input)
    {
        Version::warn(__METHOD__ . ' is deprecated');
        $replace = array();
        foreach ($this->data as $key => $val) {
            $replace['{' . $key . '}'] = $val;
        }

        return strtr($input, $replace);
    }
public function inject($input)
    {
        Version::warn(__METHOD__ . ' is deprecated');
        $replace = array();
        foreach ($this->data as $key => $val) {
            $replace['{' . $key . '}'] = $val;
        }

        return strtr($input, $replace);
    }
public function inject ( $ input ) { Version :: warn ( __METHOD__ . ' is deprecated' ) ; $ replace = array ( ) ; foreach ( $ this -> data as $ key => $ val ) { $ replace [ '{' . $ key . '}' ] = $ val ; } return strtr ( $ input , $ replace ) ; }
Inject configuration settings into an input string

@param string $input Input to inject

@return string
@deprecated
Inject configuration settings into an input string