1 | <?php |
||
7 | class PreCreateFilterConditionEvent extends Event |
||
8 | { |
||
9 | /** |
||
10 | * @var DataTypeInterface |
||
11 | */ |
||
12 | private $dataType; |
||
13 | |||
14 | /** |
||
15 | * @var mixed |
||
16 | */ |
||
17 | private $databaseValue; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $method; |
||
23 | |||
24 | /** |
||
25 | * @param DataTypeInterface $dataType |
||
26 | * @param mixed $value |
||
27 | * @param string $method |
||
28 | */ |
||
29 | public function __construct(DataTypeInterface $dataType, $value, $method) |
||
35 | |||
36 | /** |
||
37 | * @return DataTypeInterface |
||
38 | */ |
||
39 | public function getDataType() |
||
43 | |||
44 | /** |
||
45 | * @return mixed |
||
46 | */ |
||
47 | public function getDatabaseValue() |
||
51 | |||
52 | /** |
||
53 | * @param mixed $databaseValue |
||
54 | */ |
||
55 | public function setDatabaseValue($databaseValue) |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getMethod() |
||
67 | } |
||
68 |