public function getLights($selector = 'all')
    {
        $request = new Request('GET', 'lights/' . $selector);
        $response = $this->sendRequest($request);

        return $response->getBody();
    }
public function getLights($selector = 'all')
    {
        $request = new Request('GET', 'lights/' . $selector);
        $response = $this->sendRequest($request);

        return $response->getBody();
    }
public function getLights ( $ selector = 'all' ) { $ request = new Request ( 'GET' , 'lights/' . $ selector ) ; $ response = $ this -> sendRequest ( $ request ) ; return $ response -> getBody ( ) ; }
Gets lights belonging to the authenticated account.

@param string $selector Selector used to filter lights. Defaults to `all`.
@return \Psr\Http\Message\StreamInterface
Gets lights belonging to the authenticated account .