public function Response::__construct in Payment 8.2
Creates a new instance.
Parameters
\Drupal\Core\Url $url:
\Symfony\Component\HttpFoundation\Response|null $response:
File
- src/
Response/ Response.php, line 34
Class
- Response
- Provides a payment response.
Namespace
Drupal\payment\ResponseCode
public function __construct(Url $url, SymfonyResponse $response = NULL) {
$this->response = $response;
$this->url = $url;
}