src/Amadeus/Client/RequestCreator/Factory.php
public static function createRequestCreator($params, $libIdentifier)
    {
        $params->receivedFrom = self::makeReceivedFrom(
            $params->receivedFrom,
            $libIdentifier
        );

        $theRequestCreator = new Base($params);

        return $theRequestCreator;
    }
public static function createRequestCreator($params, $libIdentifier)
    {
        $params->receivedFrom = self::makeReceivedFrom(
            $params->receivedFrom,
            $libIdentifier
        );

        $theRequestCreator = new Base($params);

        return $theRequestCreator;
    }
Create a Request Creator

@param RequestCreatorParams $params
@param string $libIdentifier
@return RequestCreatorInterface
@throws \InvalidArgumentException when the parameters to create the handler do not make sense.