| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | interface GenerateUnitInterface extends UnitInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @return array |
||
| 9 | */ |
||
| 10 | public function getGeneratorMapping(); |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param array $generatorMapping |
||
| 14 | */ |
||
| 15 | public function setGeneratorMapping(array $generatorMapping); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * get Number of possible occurrences |
||
| 19 | * must go in form of array with 1st el is max, second is center |
||
| 20 | * @return \SplFixedArray |
||
| 21 | */ |
||
| 22 | public function getGenerationSeed(); |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \SplFixedArray $generationSeed |
||
| 26 | */ |
||
| 27 | public function setGenerationSeed(\SplFixedArray $generationSeed); |
||
| 28 | |||
| 29 | /** |
||
| 30 | * get contributions for generation process |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | public function getGenerationContributions(); |
||
| 34 | |||
| 35 | /** |
||
| 36 | * set generation contributions |
||
| 37 | * @param array $generationContributions |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | public function setGenerationContributions(array $generationContributions); |
||
| 41 | } |
||
| 42 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.