src/Amadeus/Client/Params.php
protected function loadRequestCreatorParams($params)
    {
        if (isset($params['requestCreatorParams'])) {
            if ($params['requestCreatorParams'] instanceof RequestCreatorParams) {
                $this->requestCreatorParams = $params['requestCreatorParams'];
            } elseif (is_array($params['requestCreatorParams'])) {
                $this->requestCreatorParams = new RequestCreatorParams($params['requestCreatorParams']);
            }
        }
    }
protected function loadRequestCreatorParams($params)
    {
        if (isset($params['requestCreatorParams'])) {
            if ($params['requestCreatorParams'] instanceof RequestCreatorParams) {
                $this->requestCreatorParams = $params['requestCreatorParams'];
            } elseif (is_array($params['requestCreatorParams'])) {
                $this->requestCreatorParams = new RequestCreatorParams($params['requestCreatorParams']);
            }
        }
    }
protected function loadRequestCreatorParams ( $ params ) { if ( isset ( $ params [ 'requestCreatorParams' ] ) ) { if ( $ params [ 'requestCreatorParams' ] instanceof RequestCreatorParams ) { $ this -> requestCreatorParams = $ params [ 'requestCreatorParams' ] ; } elseif ( is_array ( $ params [ 'requestCreatorParams' ] ) ) { $ this -> requestCreatorParams = new RequestCreatorParams ( $ params [ 'requestCreatorParams' ] ) ; } } }
Load Request Creator Parameters

@param array $params
@return void
Load Request Creator Parameters