public function getAuthKeyVar($key)
    {
        if (!isset($this->authKeyMap[$key])) {
            $msg = 'Invalid Auth key requested: ' . $key;
            throw new ApiException($msg);
        }

        $property = $this->authKeyMap[$key];
        return $this->$property;
    }
public function getAuthKeyVar($key)
    {
        if (!isset($this->authKeyMap[$key])) {
            $msg = 'Invalid Auth key requested: ' . $key;
            throw new ApiException($msg);
        }

        $property = $this->authKeyMap[$key];
        return $this->$property;
    }
public function getAuthKeyVar ( $ key ) { if ( ! isset ( $ this -> authKeyMap [ $ key ] ) ) { $ msg = 'Invalid Auth key requested: ' . $ key ; throw new ApiException ( $ msg ) ; } $ property = $ this -> authKeyMap [ $ key ] ; return $ this -> $ property ; }
Map an API authentication key to the Auth object's
variable and return it.

@param string $key The API authentication key.

@return mixed The requested API variable.

@throws MyAllocator\phpsdk\src\Exception\ApiException
Map an API authentication key to the Auth object s variable and return it .