1 | <?php |
||
38 | class UnknownDocumentType extends ModelEvent |
||
39 | { |
||
40 | const EventName = 'unknownDocumentType'; |
||
41 | private $modelData = []; |
||
42 | |||
43 | /** |
||
44 | * Parent Model |
||
45 | * @var AnnotatedInterface|null |
||
46 | */ |
||
47 | public $parent = null; |
||
48 | |||
49 | /** |
||
50 | * Parent model field name |
||
51 | * @var string |
||
52 | */ |
||
53 | public $field = ''; |
||
54 | |||
55 | /** |
||
56 | * Get data from error. This will |
||
57 | * be called also when trying to recover. |
||
58 | * @return array |
||
59 | */ |
||
60 | public function getData() |
||
64 | |||
65 | /** |
||
66 | * @param array $data |
||
67 | */ |
||
68 | public function setData($data) |
||
72 | |||
73 | |||
74 | } |