GenerateUnitInterface
last analyzed

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 37
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
getGeneratorMapping() 0 1 ?
setGeneratorMapping() 0 1 ?
getGenerationSeed() 0 1 ?
setGenerationSeed() 0 1 ?
getGenerationContributions() 0 1 ?
setGenerationContributions() 0 1 ?
1
<?php
2
3
namespace Maketok\DataMigration\Unit;
4
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);
0 ignored issues
show
Comprehensibility Naming introduced by
The variable name $generationContributions exceeds the maximum configured length of 20.

Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.

Loading history...
41
}
42