src/Client.php
protected function applyOptions(array $options)
    {
        isset($options['httpClient']) && $this->httpClient = $options['httpClient'];
        if (!isset($options['metaCacheDir'])) {
            throw new InvalidArgumentException('You must provide option "metaCacheDir"');
        }
        $this->metaCacheDir = $options['metaCacheDir'];
    }
protected function applyOptions(array $options)
    {
        isset($options['httpClient']) && $this->httpClient = $options['httpClient'];
        if (!isset($options['metaCacheDir'])) {
            throw new InvalidArgumentException('You must provide option "metaCacheDir"');
        }
        $this->metaCacheDir = $options['metaCacheDir'];
    }
protected function applyOptions ( array $ options ) { isset ( $ options [ 'httpClient' ] ) && $ this -> httpClient = $ options [ 'httpClient' ] ; if ( ! isset ( $ options [ 'metaCacheDir' ] ) ) { throw new InvalidArgumentException ( 'You must provide option "metaCacheDir"' ) ; } $ this -> metaCacheDir = $ options [ 'metaCacheDir' ] ; }
Applies the array of request options to the client.

@param array $options
Applies the array of request options to the client .