41 lines
797 B
YAML
41 lines
797 B
YAML
name: ValidatePostSize
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Closure
|
|
type: class
|
|
source: Closure
|
|
- name: PostTooLargeException
|
|
type: class
|
|
source: Illuminate\Http\Exceptions\PostTooLargeException
|
|
properties: []
|
|
methods:
|
|
- name: handle
|
|
visibility: public
|
|
parameters:
|
|
- name: request
|
|
- name: next
|
|
comment: '# * Handle an incoming request.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Http\Request $request
|
|
|
|
# * @param \Closure $next
|
|
|
|
# * @return mixed
|
|
|
|
# *
|
|
|
|
# * @throws \Illuminate\Http\Exceptions\PostTooLargeException'
|
|
- name: getPostMaxSize
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Determine the server ''post_max_size'' as bytes.
|
|
|
|
# *
|
|
|
|
# * @return int'
|
|
traits:
|
|
- Closure
|
|
- Illuminate\Http\Exceptions\PostTooLargeException
|
|
interfaces: []
|