1 | <?php |
||
43 | class Simple |
||
44 | { |
||
45 | |||
46 | /** |
||
47 | * The actions unique serial. |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $serial; |
||
52 | |||
53 | /** |
||
54 | * The system logger implementation. |
||
55 | * |
||
56 | * @var \Psr\Log\LoggerInterface |
||
57 | */ |
||
58 | protected $systemLogger; |
||
59 | |||
60 | /** |
||
61 | * The RegistryProcessor instance to handle running threads. |
||
62 | * |
||
63 | * @var \TechDivision\Import\Services\RegistryProcessorInterface |
||
64 | */ |
||
65 | protected $registryProcessor; |
||
66 | |||
67 | /** |
||
68 | * The processor to read/write the necessary import data. |
||
69 | * |
||
70 | * @var \TechDivision\Import\Services\ImportProcessorInterface |
||
71 | */ |
||
72 | protected $importProcessor; |
||
73 | |||
74 | /** |
||
75 | * The system configuration. |
||
76 | * |
||
77 | * @var \TechDivision\Import\ConfigurationInterface |
||
78 | */ |
||
79 | protected $configuration; |
||
80 | |||
81 | /** |
||
82 | * Set's the unique serial for this import process. |
||
83 | * |
||
84 | * @param string $serial The unique serial |
||
85 | * |
||
86 | * @return void |
||
87 | */ |
||
88 | public function setSerial($serial) |
||
92 | |||
93 | /** |
||
94 | * Return's the unique serial for this import process. |
||
95 | * |
||
96 | * @return string The unique serial |
||
97 | */ |
||
98 | public function getSerial() |
||
102 | |||
103 | /** |
||
104 | * Set's the system logger. |
||
105 | * |
||
106 | * @param \Psr\Log\LoggerInterface $systemLogger The system logger |
||
107 | * |
||
108 | * @return void |
||
109 | */ |
||
110 | public function setSystemLogger(LoggerInterface $systemLogger) |
||
114 | |||
115 | /** |
||
116 | * Return's the system logger. |
||
117 | * |
||
118 | * @return \Psr\Log\LoggerInterface The system logger instance |
||
119 | */ |
||
120 | public function getSystemLogger() |
||
124 | |||
125 | /** |
||
126 | * Sets's the RegistryProcessor instance to handle the running threads. |
||
127 | * |
||
128 | * @param \TechDivision\Import\Services\RegistryProcessorInterface $registryProcessor The registry processor instance |
||
129 | * |
||
130 | * @return void |
||
131 | */ |
||
132 | public function setRegistryProcessor(RegistryProcessorInterface $registryProcessor) |
||
136 | |||
137 | /** |
||
138 | * Return's the RegistryProcessor instance to handle the running threads. |
||
139 | * |
||
140 | * @return \TechDivision\Import\Services\RegistryProcessor The registry processor instance |
||
141 | */ |
||
142 | public function getRegistryProcessor() |
||
146 | |||
147 | /** |
||
148 | * Set's the import processor instance. |
||
149 | * |
||
150 | * @param \TechDivision\Import\Services\ImportProcessorInterface $importProcessor The import processor instance |
||
151 | * |
||
152 | * @return void |
||
153 | */ |
||
154 | 1 | public function setImportProcessor(ImportProcessorInterface $importProcessor) |
|
158 | |||
159 | /** |
||
160 | * Return's the import processor instance. |
||
161 | * |
||
162 | * @return \TechDivision\Import\Services\ImportProcessorInterface The import processor instance |
||
163 | */ |
||
164 | 1 | public function getImportProcessor() |
|
168 | |||
169 | /** |
||
170 | * Set's the system configuration. |
||
171 | * |
||
172 | * @param \TechDivision\Import\ConfigurationInterface $configuration The system configuration |
||
173 | * |
||
174 | * @return void |
||
175 | */ |
||
176 | public function setConfiguration(ConfigurationInterface $configuration) |
||
180 | |||
181 | /** |
||
182 | * Return's the system configuration. |
||
183 | * |
||
184 | * @return \TechDivision\Import\ConfigurationInterface The system configuration |
||
185 | */ |
||
186 | public function getConfiguration() |
||
190 | |||
191 | /** |
||
192 | * Return's the prefix for the import files. |
||
193 | * |
||
194 | * @return string The prefix |
||
195 | */ |
||
196 | public function getPrefix() |
||
200 | |||
201 | /** |
||
202 | * Return's the source directory that has to be watched for new files. |
||
203 | * |
||
204 | * @return string The source directory |
||
205 | */ |
||
206 | public function getSourceDir() |
||
210 | |||
211 | /** |
||
212 | * Parse the temporary upload directory for new files to be imported. |
||
213 | * |
||
214 | * @return void |
||
215 | */ |
||
216 | public function import() |
||
238 | |||
239 | /** |
||
240 | * This method start's the import process by initializing |
||
241 | * the status and appends it to the registry. |
||
242 | * |
||
243 | * @return void |
||
244 | */ |
||
245 | public function start() |
||
263 | |||
264 | /** |
||
265 | * Prepares the global data for the import process. |
||
266 | * |
||
267 | * @return void |
||
268 | */ |
||
269 | public function setUp() |
||
336 | |||
337 | /** |
||
338 | * Process all the subjects defined in the system configuration. |
||
339 | * |
||
340 | * @return void |
||
341 | */ |
||
342 | public function processSubjects() |
||
372 | |||
373 | /** |
||
374 | * Process the subject with the passed name/identifier. |
||
375 | * |
||
376 | * @param \TechDivision\Import\Configuration\Subject $subject The subject configuration |
||
377 | * |
||
378 | * @return void |
||
379 | */ |
||
380 | public function processSubject($subject) |
||
446 | |||
447 | /** |
||
448 | * Factory method to create new handler instances. |
||
449 | * |
||
450 | * @param \TechDivision\Import\Configuration\Subject $subject The subject configuration |
||
451 | * |
||
452 | * @return object The handler instance |
||
453 | */ |
||
454 | public function subjectFactory($subject) |
||
483 | |||
484 | /** |
||
485 | * Lifecycle callback that will be inovked after the |
||
486 | * import process has been finished. |
||
487 | * |
||
488 | * @return void |
||
489 | */ |
||
490 | public function tearDown() |
||
494 | |||
495 | /** |
||
496 | * This method finishes the import process and cleans the registry. |
||
497 | * |
||
498 | * @return void |
||
499 | */ |
||
500 | public function finish() |
||
504 | } |
||
505 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.