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 Doba 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 | * Po unserializaci je zde trida excpetion |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | private $exceptionClass = ''; |
||
43 | |||
44 | /** |
||
45 | * Po unserializaci je zde text exception |
||
46 | * |
||
47 | * Pouziva __toString() methodu |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | private $exceptionString = ''; |
||
52 | |||
53 | /** |
||
54 | * @param string $fname Nazev volane funkce |
||
55 | * @param array<int, mixed> $args Argumenty pozadavku |
||
56 | */ |
||
57 | 4 | public function __construct( |
|
70 | |||
71 | 2 | public function serialize(): string |
|
82 | |||
83 | /** |
||
84 | * @param string $data |
||
85 | */ |
||
86 | 2 | public function unserialize($data): void |
|
95 | |||
96 | /** |
||
97 | * Vrati tridu exception |
||
98 | * |
||
99 | * Pouziva se tato metoda protoze SoapFault exception vyhozena SoapClientem nejde serializovat |
||
100 | */ |
||
101 | 3 | public function getExceptionClass(): string |
|
109 | |||
110 | /** |
||
111 | * Vrati textovou podobu exception |
||
112 | */ |
||
113 | 3 | public function getExceptionString(): string |
|
121 | |||
122 | 2 | public function getFname(): string |
|
126 | |||
127 | |||
128 | /** |
||
129 | * @return array<int, mixed> |
||
|
|||
130 | */ |
||
131 | 2 | public function getArgs(): array |
|
135 | |||
136 | |||
137 | 2 | public function getDuration(): float |
|
141 | |||
142 | /** |
||
143 | * @return Throwable|null null when object is de-serialized |
||
144 | * |
||
145 | * @see RequestFailEvent::getExceptionString() |
||
146 | * @see RequestFailEvent::getExceptionClass() |
||
147 | */ |
||
148 | public function getThrowable(): ?Throwable |
||
152 | |||
153 | } |
||
154 |
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.