/** * PreBuildRequestEvent constructor. * * @param ApiInterface $api * @param ApiServiceInterface $service * @param ApiRequestBuilder $requestBuilder */ public function __construct(ApiInterface $api, ApiServiceInterface $service, ApiRequestBuilder $requestBuilder) { parent::__construct($api, $service); $this->requestBuilder = $requestBuilder; }
/** * PreBuildRequestEvent constructor. * * @param ApiInterface $api * @param ApiServiceInterface $service * @param ApiRequestInterface $request */ public function __construct(ApiInterface $api, ApiServiceInterface $service, ApiRequestInterface $request) { parent::__construct($api, $service); $this->request = $request; }
/** * PreBuildRequestEvent constructor. * * @param ApiInterface $api * @param ApiServiceInterface $service * @param ResponseInterface $response */ public function __construct(ApiInterface $api, ApiServiceInterface $service, ResponseInterface $response) { parent::__construct($api, $service); $this->response = $response; }