| 1 | <?php |
||
| 14 | class Channel extends SerializeToString implements ChannelInterface |
||
| 15 | { |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Channel constructor. |
||
| 20 | * |
||
| 21 | * @param string $name |
||
| 22 | */ |
||
| 23 | 22 | public function __construct($name) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $name |
||
| 30 | * |
||
| 31 | * @return self |
||
| 32 | */ |
||
| 33 | 22 | private function setName($name) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | 10 | public function getChannel() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | 9 | public function __toString() |
|
| 65 | } |
||
| 66 |