| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class BatchEvent extends Event |
||
|
|
|||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Element |
||
| 22 | */ |
||
| 23 | private $element; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var Request |
||
| 27 | */ |
||
| 28 | private $request; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var object |
||
| 32 | */ |
||
| 33 | private $object; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Element $element |
||
| 37 | * @param Request $request |
||
| 38 | * @param object $object |
||
| 39 | */ |
||
| 40 | public function __construct(Element $element, Request $request, $object) |
||
| 41 | { |
||
| 42 | $this->element = $element; |
||
| 43 | $this->request = $request; |
||
| 44 | $this->object = $object; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getElement(): Element |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return Request |
||
| 54 | */ |
||
| 55 | public function getRequest(): Request |
||
| 56 | { |
||
| 57 | return $this->request; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return object |
||
| 62 | */ |
||
| 63 | public function getObject() |
||
| 66 | } |
||
| 67 | } |
||
| 68 |