yohang / CalendR

The missing PHP 5.3+ calendar management library.
http:/yohan.giarel.li/CalendR
MIT License
465 stars 65 forks source link

CalendR\Event\Exception\NoProviderFound: #58

Open 734918601 opened 4 years ago

734918601 commented 4 years ago
        $factory = new \CalendR\Calendar;
        $month = $factory->getMonth(2020, 6);
        $events = $factory->getEvents($month);

CalendR\Event\Exception\NoProviderFound: in file /home/wwwroot/akstest.gewu.pro/tooth/vendor/yohang/calendr/src/CalendR/Event/Manager.php on line 68

peter279k commented 4 years ago

It means there is no event provider can be found on this event collection.

According to this event reference, it should define your own event provider.