private function setParameters($parameters)
    {
        $this->domain = $this->validateConfiguration($parameters['domain']);
        $this->endpoint = $this->validateConfiguration($parameters['endpoint']);
        $this->access_token = $this->validateConfiguration($parameters['token']);
    }
private function setParameters($parameters)
    {
        $this->domain = $this->validateConfiguration($parameters['domain']);
        $this->endpoint = $this->validateConfiguration($parameters['endpoint']);
        $this->access_token = $this->validateConfiguration($parameters['token']);
    }
private function setParameters ( $ parameters ) { $ this -> domain = $ this -> validateConfiguration ( $ parameters [ 'domain' ] ) ; $ this -> endpoint = $ this -> validateConfiguration ( $ parameters [ 'endpoint' ] ) ; $ this -> access_token = $ this -> validateConfiguration ( $ parameters [ 'token' ] ) ; }
set the attributes on the class after validating them.

@param $parameters
set the attributes on the class after validating them .