src/Request/Http/Adapter/Adapter.php
protected function init(array $options = array())
    {
        foreach ($options as $key => $value) {
            if (property_exists($this, $key)) {
                $this->{$key} = $value;
            }
        }
    }
protected function init(array $options = array())
    {
        foreach ($options as $key => $value) {
            if (property_exists($this, $key)) {
                $this->{$key} = $value;
            }
        }
    }
protected function init ( array $ options = array ( ) ) { foreach ( $ options as $ key => $ value ) { if ( property_exists ( $ this , $ key ) ) { $ this -> { $ key } = $ value ; } } }
Initializes the request options.

@param array $options the options.
Initializes the request options .