1 | <?php |
||
9 | final class RequestEntityTooLarge extends AbstractApiProblem |
||
10 | { |
||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | private $maxContentLength; |
||
15 | |||
16 | /** |
||
17 | * @param int $maxContentLength |
||
18 | * @param string|null $detail |
||
19 | * @param string|null $instance |
||
20 | */ |
||
21 | 2 | public function __construct(int $maxContentLength, string $detail = null, string $instance = null) |
|
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | 2 | public function getMaxContentLength(): int |
|
41 | } |
||
42 |