1 | <?php |
||
9 | class RequestFailEvent implements Serializable |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var string Nazev funkce volane pomoci SOAP requestu |
||
14 | */ |
||
15 | private $fname; |
||
16 | |||
17 | /** |
||
18 | * Parametry SOAP requestu na server |
||
19 | * |
||
20 | * @var array<int, mixed> |
||
21 | */ |
||
22 | private $args; |
||
23 | |||
24 | /** |
||
25 | * @var float Pocet sekund trvani pozadvku |
||
26 | */ |
||
27 | private $time; |
||
28 | |||
29 | /** |
||
30 | * Ne vsechny exceptions jdou serializovat. |
||
31 | * Po unserializaci je null. |
||
32 | * |
||
33 | * @var Throwable|null |
||
34 | */ |
||
35 | private $throwable; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | private $exceptionClass; |
||
41 | |||
42 | /** |
||
43 | * Pouziva __toString() methodu |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | private $exceptionString; |
||
48 | |||
49 | /** |
||
50 | * @param string $fname Nazev volane funkce |
||
51 | * @param array<int, mixed> $args Argumenty pozadavku |
||
52 | */ |
||
53 | 4 | public function __construct( |
|
66 | |||
67 | 2 | public function serialize(): string |
|
78 | |||
79 | /** |
||
80 | * @param string $data |
||
81 | */ |
||
82 | 2 | public function unserialize($data): void |
|
91 | |||
92 | /** |
||
93 | * Vrati tridu exception |
||
94 | * |
||
95 | * Pouziva se tato metoda protoze SoapFault exception vyhozena SoapClientem nejde serializovat |
||
96 | */ |
||
97 | 3 | public function getExceptionClass(): string |
|
105 | |||
106 | /** |
||
107 | * Vrati textovou podobu exception |
||
108 | */ |
||
109 | 3 | public function getExceptionString(): string |
|
117 | |||
118 | 2 | public function getFname(): string |
|
122 | |||
123 | |||
124 | /** |
||
125 | * @return array<int, mixed> |
||
|
|||
126 | */ |
||
127 | 2 | public function getArgs(): array |
|
131 | |||
132 | |||
133 | /** |
||
134 | * Pocet sekund trvani pozadvku |
||
135 | */ |
||
136 | 2 | public function getDuration(): float |
|
140 | |||
141 | /** |
||
142 | * @return Throwable|null null when object is de-serialized |
||
143 | * |
||
144 | * @see RequestFailEvent::getExceptionString() |
||
145 | * @see RequestFailEvent::getExceptionClass() |
||
146 | */ |
||
147 | public function getThrowable(): ?Throwable |
||
151 | |||
152 | } |
||
153 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.