Total Complexity | 7 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 93.33% |
Changes | 0 |
1 | <?php |
||
10 | class BuildModel implements BuildModelInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var \Xervice\Database\Provider\PropelCommandProviderInterface |
||
14 | */ |
||
15 | private $propelCommandProvider; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $schemaPaths; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $schemaTarget; |
||
26 | |||
27 | /** |
||
28 | * BuildModel constructor. |
||
29 | * |
||
30 | * @param \Xervice\Database\Provider\PropelCommandProviderInterface $propelCommandProvider |
||
31 | * @param array $schemaPaths |
||
32 | */ |
||
33 | 1 | public function __construct( |
|
34 | PropelCommandProviderInterface $propelCommandProvider, |
||
35 | array $schemaPaths, |
||
36 | string $schemaTarget |
||
37 | ) { |
||
38 | 1 | $this->propelCommandProvider = $propelCommandProvider; |
|
39 | 1 | $this->schemaPaths = $schemaPaths; |
|
40 | 1 | $this->schemaTarget = $schemaTarget; |
|
41 | 1 | } |
|
42 | |||
43 | /** |
||
44 | * |
||
45 | */ |
||
46 | 1 | public function buildModel() |
|
63 | } |
||
64 | } |