1 | <?php |
||
15 | class SuiteInfo implements SuiteInfoInterface |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $name; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $actor; |
||
27 | |||
28 | /** |
||
29 | * @var StringCollection |
||
30 | */ |
||
31 | protected $modules; |
||
32 | |||
33 | /** |
||
34 | * SuiteInfo constructor. |
||
35 | * |
||
36 | * @param string $name |
||
37 | * @param string $actor |
||
38 | * @param string[]|StringCollection $modules |
||
39 | */ |
||
40 | public function __construct(string $name, string $actor = self::ACTOR_SUFFIX, $modules = []) |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getName() : string |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getActor() : string |
||
64 | |||
65 | /** |
||
66 | * @return StringCollection |
||
67 | */ |
||
68 | public function getModules() : StringCollection |
||
72 | |||
73 | } |
||
74 |