Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
41 | 1 | public function getPlanByConfiguration(Configuration $configuration) |
|
42 | { |
||
43 | 1 | $typeName = $this->typeProvider->getTypeByKey($configuration->getType()); |
|
44 | |||
45 | 1 | return $this->planManager->findByType( |
|
46 | 1 | $typeName, |
|
47 | 1 | $configuration->getNumberOfWeek(), |
|
48 | 1 | $configuration->getNumberOfSeance() |
|
49 | 1 | ); |
|
50 | } |
||
51 | } |
||
52 |