| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function guessNormalizer($type, $normalizeType) |
||
| 29 | { |
||
| 30 | $normalizer = $this->normalizers->getNormalizer( |
||
| 31 | $type.'.'.$normalizeType |
||
| 32 | ); |
||
| 33 | if (is_null($normalizer)) { |
||
| 34 | throw new GuessException( |
||
| 35 | 'Type de normalizer non géré: '.$normalizeType.' pour '.$type |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | return $normalizer; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |