| 1 | <?php  | 
            ||
| 10 | class YeelightClient  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @var YeelightRawClient  | 
            ||
| 14 | */  | 
            ||
| 15 | private $client;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * YeelightClient constructor.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @param int $readTimeout  | 
            ||
| 21 | */  | 
            ||
| 22 | public function __construct(int $readTimeout = 1)  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @return Bulb[]  | 
            ||
| 35 | *  | 
            ||
| 36 | * @throws SocketException  | 
            ||
| 37 | */  | 
            ||
| 38 | public function search()  | 
            ||
| 42 | }  | 
            ||
| 43 |