1 | <?php |
||
16 | abstract class AbstractChannel implements ChannelInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var SystemInterface |
||
20 | */ |
||
21 | protected $system; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $id; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $name; |
||
32 | |||
33 | /** |
||
34 | * GitterChannel constructor. |
||
35 | * @param SystemInterface $system |
||
36 | * @param string $id |
||
37 | * @param string $name |
||
38 | */ |
||
39 | public function __construct(SystemInterface $system, string $id, string $name) |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | public function __debugInfo() |
||
57 | |||
58 | /** |
||
59 | * @return SystemInterface |
||
60 | */ |
||
61 | public function getSystem(): SystemInterface |
||
65 | |||
66 | /** |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getId(): string |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getName(): string |
||
81 | } |
||
82 |