[李景山php]每天laravel-20161015|HttpResponseWxception.php-15
2016-08-18 09:05
435 查看
<?php namespace Illuminate\Http\Exception; use RuntimeException; use Symfony\Component\HttpFoundation\Response; class HttpResponseException extends RuntimeException { /** * The underlying response instance. * * @var \Symfony\Component\HttpFoundation\Response */ protected $response; /** * Create a new HTTP response exception instance. * * @param \Symfony\Component\HttpFoundation\Response $response * @return void */ public function __construct(Response $response) { $this->response = $response; } /** * Get the underlying response instance. * * @return \Symfony\Component\HttpFoundation\Response */ public function getResponse() { return $this->response; } }// get the response
相关文章推荐
- [李景山php]每天laravel-20161016|JsonResponse.php
- [李景山php]每天laravel-20161018|RedirectResponse.php-1
- [李景山php]每天laravel-20161017|ResponseTrait.php
- [李景山php]每天laravel-20161019|RedirectResponse.php-2
- [李景山php]每天laravel-20161017|ResponseTrait.php
- [李景山php]每天laravel-20161018|RedirectResponse.php-1
- [李景山php]每天laravel-20161016|JsonResponse.php
- [李景山php]每天laravel-20160903|Dispatcher-3
- [李景山php]每天laravel-20160904|Dispatcher-4
- [李景山php]每天laravel-20160906|Dispatcher-6
- [李景山php]每天laravel-20160831|EventServiceProvider
- [李景山php]每天laravel-20160831|EventServiceProvider
- [李景山php]每天laravel-20160905|Dispatcher-5
- [李景山php]每天laravel-20160827|McryptEncrypter-1
- [李景山php]每天laravel-20160827|McryptEncrypter-1
- [李景山php]每天laravel-20160901|Dispatcher-1
- [李景山php]每天laravel-20160901|Dispatcher-1
- [李景山php]每天laravel-20160907|Dispatcher-7
- [李景山php]每天laravel-20160826|EncryptionServiceProvider
- [李景山php]每天laravel-20160828|McryptEncrypter-2