1 | <?php |
||
15 | class FirephpWrapperOptions extends AbstractOptions |
||
16 | { |
||
17 | protected $maxObjectDepth; |
||
18 | protected $maxArrayDepth; |
||
19 | protected $maxDepth; |
||
20 | protected $useNativeJsonEncode; |
||
21 | protected $includeLineNumbers; |
||
22 | |||
23 | /** |
||
24 | * @param bool $includeLineNumbers |
||
25 | * @return self |
||
26 | */ |
||
27 | public function setIncludeLineNumbers($includeLineNumbers) |
||
28 | { |
||
29 | $this->includeLineNumbers = $includeLineNumbers; |
||
30 | |||
31 | return $this; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return bool |
||
36 | */ |
||
37 | public function getIncludeLineNumbers() |
||
41 | |||
42 | /** |
||
43 | * @param int $maxArrayDepth |
||
44 | * @return self |
||
45 | */ |
||
46 | public function setMaxArrayDepth($maxArrayDepth) |
||
47 | { |
||
48 | $this->maxArrayDepth = $maxArrayDepth; |
||
49 | |||
50 | return $this; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return int |
||
55 | */ |
||
56 | public function getMaxArrayDepth() |
||
60 | |||
61 | /** |
||
62 | * @param int $maxDepth |
||
63 | * @return self |
||
64 | */ |
||
65 | public function setMaxDepth($maxDepth) |
||
66 | { |
||
67 | $this->maxDepth = $maxDepth; |
||
68 | |||
69 | return $this; |
||
70 | } |
||
71 | |||
72 | /** |
||
73 | * @return int |
||
74 | */ |
||
75 | public function getMaxDepth() |
||
79 | |||
80 | /** |
||
81 | * @param int $maxObjectDepth |
||
82 | * @return self |
||
83 | */ |
||
84 | public function setMaxObjectDepth($maxObjectDepth) |
||
85 | { |
||
86 | $this->maxObjectDepth = $maxObjectDepth; |
||
87 | |||
88 | return $this; |
||
89 | } |
||
90 | |||
91 | /** |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getMaxObjectDepth() |
||
98 | |||
99 | /** |
||
100 | * @param bool $useNativeJsonEncode |
||
101 | * @return self |
||
102 | */ |
||
103 | public function setUseNativeJsonEncode($useNativeJsonEncode) |
||
104 | { |
||
105 | $this->useNativeJsonEncode = $useNativeJsonEncode; |
||
106 | |||
107 | return $this; |
||
108 | } |
||
109 | |||
110 | /** |
||
111 | * @return bool |
||
112 | */ |
||
113 | public function getUseNativeJsonEncode() |
||
117 | } |
||
118 |