src/Entity/XiboSchedule.php
public function getEvents($displayGroupId, $date)
    {
        $this->getLogger()->info('Getting list of events for specified display group ' . $displayGroupId . ' and date ' . $date);
        $response = $this->doGet('/schedule/' . $displayGroupId . '/events', [
            'date' => $date
        ]);

       return clone $this->hydrate($response);
    }
public function getEvents($displayGroupId, $date)
    {
        $this->getLogger()->info('Getting list of events for specified display group ' . $displayGroupId . ' and date ' . $date);
        $response = $this->doGet('/schedule/' . $displayGroupId . '/events', [
            'date' => $date
        ]);

       return clone $this->hydrate($response);
    }
public function getEvents ( $ displayGroupId , $ date ) { $ this -> getLogger ( ) -> info ( 'Getting list of events for specified display group ' . $ displayGroupId . ' and date ' . $ date ) ; $ response = $ this -> doGet ( '/schedule/' . $ displayGroupId . '/events' , [ 'date' => $ date ] ) ; return clone $ this -> hydrate ( $ response ) ; }
Get events for specified display Group ID.

@param int $displayGroupId The display group ID
@param string $date Date in Y-m-d H:i:s
@return array|XiboSchedule
Get events for specified display Group ID .