1 | <?php |
||
40 | class Plugin implements PluginConfigurationInterface, ListenerAwareConfigurationInterface |
||
41 | { |
||
42 | |||
43 | /** |
||
44 | * The trait that provides parameter configuration functionality. |
||
45 | * |
||
46 | * @var \TechDivision\Import\Configuration\Jms\Configuration\ParamsTrait |
||
47 | */ |
||
48 | use ParamsTrait; |
||
49 | |||
50 | /** |
||
51 | * Trait that provides CSV configuration functionality. |
||
52 | * |
||
53 | * @var \TechDivision\Import\Configuration\Jms\Configuration\ListenersTrait |
||
54 | */ |
||
55 | use ListenersTrait; |
||
56 | |||
57 | /** |
||
58 | * The main configuration. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $configuration; |
||
63 | |||
64 | /** |
||
65 | * The plugin's unique DI identifier. |
||
66 | * |
||
67 | * @var string |
||
68 | * @Type("string") |
||
69 | * @SerializedName("id") |
||
70 | */ |
||
71 | protected $id; |
||
72 | |||
73 | /** |
||
74 | * The plugin's name. |
||
75 | * |
||
76 | * @var string |
||
77 | * @Type("string") |
||
78 | * @SerializedName("name") |
||
79 | */ |
||
80 | protected $name; |
||
81 | |||
82 | /** |
||
83 | * ArrayCollection with the information of the configured subjects. |
||
84 | * |
||
85 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
86 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\Subject>") |
||
87 | */ |
||
88 | protected $subjects; |
||
89 | |||
90 | /** |
||
91 | * The swift mailer configuration to use. |
||
92 | * |
||
93 | * @var \TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer |
||
94 | * @Type("TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer") |
||
95 | * @SerializedName("swift-mailer") |
||
96 | */ |
||
97 | protected $swiftMailer; |
||
98 | |||
99 | /** |
||
100 | * Lifecycle callback that will be invoked after deserialization. |
||
101 | * |
||
102 | * @return void |
||
103 | * @PostDeserialize |
||
104 | */ |
||
105 | public function postDeserialize() |
||
113 | |||
114 | /** |
||
115 | * Set's the reference to the configuration instance. |
||
116 | * |
||
117 | * @param \TechDivision\Import\ConfigurationInterface $configuration The configuration instance |
||
118 | * |
||
119 | * @return void |
||
120 | */ |
||
121 | public function setConfiguration(ConfigurationInterface $configuration) |
||
125 | |||
126 | /** |
||
127 | * Return's the reference to the configuration instance. |
||
128 | * |
||
129 | * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
||
130 | */ |
||
131 | public function getConfiguration() |
||
135 | |||
136 | /** |
||
137 | * Return's the plugin's unique DI identifier. |
||
138 | * |
||
139 | * @return string The plugin's unique DI identifier |
||
140 | */ |
||
141 | public function getId() |
||
145 | |||
146 | /** |
||
147 | * Return's the plugin's name or the ID, if the name is NOT set. |
||
148 | * |
||
149 | * @return string The plugin's name |
||
150 | * @see \TechDivision\Import\Configuration\PluginConfigurationInterface::getId() |
||
151 | */ |
||
152 | public function getName() |
||
156 | |||
157 | /** |
||
158 | * Return's the ArrayCollection with the operation's subjects. |
||
159 | * |
||
160 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects |
||
161 | */ |
||
162 | public function getSubjects() |
||
179 | |||
180 | /** |
||
181 | * Return's the swift mailer configuration to use. |
||
182 | * |
||
183 | * @return \TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer The swift mailer configuration to use |
||
184 | */ |
||
185 | public function getSwiftMailer() |
||
189 | } |
||
190 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..