1 | <?php |
||
8 | class WorkflowBulkLoader extends BulkLoader { |
||
|
|||
9 | |||
10 | /** |
||
11 | * @inheritDoc |
||
12 | */ |
||
13 | public function preview($filepath) { |
||
16 | |||
17 | /** |
||
18 | * @param string $filepath |
||
19 | * @param boolean $preview |
||
20 | */ |
||
21 | protected function processAll($filepath, $preview = false) { |
||
32 | |||
33 | /** |
||
34 | * @param array $record |
||
35 | * @param array $columnMap |
||
36 | * @param BulkLoader_Result $results |
||
37 | * @param boolean $preview |
||
38 | * @return number |
||
39 | */ |
||
40 | protected function processRecord($record, $columnMap, &$results, $preview = false) { |
||
70 | |||
71 | /** |
||
72 | * Create the ImportedWorkflowTemplate record for the uploaded YML file. |
||
73 | * |
||
74 | * @param string $name |
||
75 | * @param string $filename |
||
76 | * @param array $record |
||
77 | * @return ImportedWorkflowTemplate $import |
||
78 | */ |
||
79 | protected function createImport($name, $filename, $record) { |
||
89 | } |
||
90 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.