Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
54 | public function getSuite($name) |
||
55 | { |
||
56 | if (isset($this->suites[$name])) { |
||
57 | return $this->suites[$name]; |
||
58 | } |
||
59 | |||
60 | if (!isset($this->suiteDefinitions[$name])) { |
||
61 | throw new SuiteNotFoundException($name); |
||
62 | } |
||
63 | |||
64 | return $this->suites[$name] = $this->suiteFactory->createSuite($name, $this->suiteDefinitions[$name]); |
||
65 | } |
||
66 | |||
80 |