public function setUp(array $params)
    {
        if (!isset($params['endpoint'])) {
            throw new \RuntimeException('Parameter "endpoint" missing.');
        }

        if (!isset($params['api_access_key'])) {
            throw new \RuntimeException('Parameter "api_access_key" missing.');
        }

        $this->params = $params;
    }
public function setUp(array $params)
    {
        if (!isset($params['endpoint'])) {
            throw new \RuntimeException('Parameter "endpoint" missing.');
        }

        if (!isset($params['api_access_key'])) {
            throw new \RuntimeException('Parameter "api_access_key" missing.');
        }

        $this->params = $params;
    }
public function setUp ( array $ params ) { if ( ! isset ( $ params [ 'endpoint' ] ) ) { throw new \ RuntimeException ( 'Parameter "endpoint" missing.' ) ; } if ( ! isset ( $ params [ 'api_access_key' ] ) ) { throw new \ RuntimeException ( 'Parameter "api_access_key" missing.' ) ; } $ this -> params = $ params ; }
Set up the parameters.

@param array $params

@throws \RuntimeException
Set up the parameters .