1 | <?php |
||
7 | final class RequestEntityTooLarge extends AbstractApiProblem |
||
8 | { |
||
9 | /** |
||
10 | * @var int|null |
||
11 | */ |
||
12 | private $maxContentLength; |
||
13 | |||
14 | /** |
||
15 | * @return int |
||
16 | */ |
||
17 | 2 | public function getStatus(): int |
|
21 | |||
22 | /** |
||
23 | * @return int |
||
24 | */ |
||
25 | 2 | public function getType(): string |
|
29 | |||
30 | /** |
||
31 | * @param int|null $maxContentLength |
||
32 | * |
||
33 | * @return ApiProblemInterface |
||
34 | */ |
||
35 | 1 | public function withMaxContentLength(int $maxContentLength = null): ApiProblemInterface |
|
42 | |||
43 | /** |
||
44 | * @return int|null |
||
45 | */ |
||
46 | 2 | public function getMaxContentLength() |
|
50 | } |
||
51 |