1 | <?php |
||
21 | class AttributeTypeEvent extends ActionEvent |
||
22 | { |
||
23 | /** @var ConnectionInterface|null */ |
||
24 | protected $connectionInterface = null; |
||
25 | |||
26 | /** @var AttributeType */ |
||
27 | protected $attributeType = null; |
||
28 | |||
29 | /** @var Attribute|null */ |
||
30 | protected $attribute = null; |
||
31 | |||
32 | /** |
||
33 | * @param AttributeType $attributeType |
||
34 | */ |
||
35 | public function __construct(AttributeType $attributeType) |
||
39 | |||
40 | /** |
||
41 | * @return AttributeType |
||
42 | */ |
||
43 | public function getAttributeType() |
||
47 | |||
48 | /** |
||
49 | * @param $attributeType |
||
50 | * @return $this |
||
51 | */ |
||
52 | public function setAttributeType(AttributeType $attributeType) |
||
58 | |||
59 | /** |
||
60 | * @return null|Attribute |
||
61 | */ |
||
62 | public function getAttribute() |
||
66 | |||
67 | /** |
||
68 | * @param Attribute $attribute |
||
69 | * @return $this |
||
70 | */ |
||
71 | public function setAttribute(Attribute $attribute) |
||
77 | |||
78 | /** |
||
79 | * @return null|ConnectionInterface |
||
80 | */ |
||
81 | public function getConnectionInterface() |
||
85 | |||
86 | /** |
||
87 | * @param ConnectionInterface $connectionInterface |
||
88 | * @return $this |
||
89 | */ |
||
90 | public function setConnectionInterface(ConnectionInterface $connectionInterface) |
||
96 | } |
||
97 |