vd/vendor/illuminate/http/Exceptions/PostTooLargeException.php
2018-11-05 09:26:30 +08:00

24 lines
588 B
PHP

<?php
namespace Illuminate\Http\Exceptions;
use Exception;
use Symfony\Component\HttpKernel\Exception\HttpException;
class PostTooLargeException extends HttpException
{
/**
* PostTooLargeException constructor.
*
* @param string|null $message
* @param \Exception|null $previous
* @param array $headers
* @param int $code
* @return void
*/
public function __construct($message = null, Exception $previous = null, array $headers = [], $code = 0)
{
parent::__construct(413, $message, $previous, $headers, $code);
}
}