1 | <?php |
||
10 | class TurnOffTelevision implements Command |
||
11 | { |
||
12 | /** |
||
13 | * @var Control |
||
14 | */ |
||
15 | private $televisionControl; |
||
16 | |||
17 | /** |
||
18 | * TurnOnTelevision constructor. |
||
19 | * @param Control $televisionControl |
||
20 | */ |
||
21 | 1 | public function __construct(Control $televisionControl) |
|
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | 1 | public function execute(): string |
|
33 | } |
||
34 |