1 | <?php |
||
20 | class SymfonyBundleSuite implements Suite |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $name; |
||
26 | /** |
||
27 | * @var BundleInterface |
||
28 | */ |
||
29 | private $bundle; |
||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | private $settings = array(); |
||
34 | |||
35 | /** |
||
36 | * Initiailzes suite. |
||
37 | * |
||
38 | * @param string $name |
||
39 | * @param BundleInterface $bundle |
||
40 | * @param array $settings |
||
41 | */ |
||
42 | public function __construct($name, BundleInterface $bundle, array $settings) |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getName() |
||
56 | |||
57 | /** |
||
58 | * Returns suite bundle. |
||
59 | * |
||
60 | * @return BundleInterface |
||
61 | */ |
||
62 | public function getBundle() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function getSettings() |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function hasSetting($key) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | * |
||
86 | * @throws ParameterNotFoundException If setting is not set |
||
87 | */ |
||
88 | public function getSetting($key) |
||
100 | } |
||
101 |