1 | <?php |
||
21 | class PopulateElementFromResponseEvent extends Event |
||
22 | { |
||
23 | /** |
||
24 | * @var ResponseInterface |
||
25 | */ |
||
26 | private $response; |
||
27 | |||
28 | /** |
||
29 | * @var ObjectsFieldInterface |
||
30 | */ |
||
31 | private $field; |
||
32 | |||
33 | /** |
||
34 | * @param ResponseInterface $response |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function setResponse(ResponseInterface $response) |
||
42 | |||
43 | /** |
||
44 | * @return ResponseInterface |
||
45 | */ |
||
46 | public function getResponse(): ResponseInterface |
||
50 | |||
51 | /** |
||
52 | * @param ObjectsFieldInterface $field |
||
53 | * @return $this |
||
54 | */ |
||
55 | public function setField(ObjectsFieldInterface $field) |
||
60 | |||
61 | /** |
||
62 | * @return ObjectsFieldInterface |
||
63 | */ |
||
64 | public function getField(): ObjectsFieldInterface |
||
68 | |||
69 | /** |
||
70 | * @param string $object |
||
71 | * @param string|null $action |
||
72 | * @return string |
||
73 | */ |
||
74 | public static function eventName( |
||
88 | } |
||
89 |