From 9884a71cbd39d14e2bb9918703a857cc18e3e828 Mon Sep 17 00:00:00 2001 From: Matej Bartok Date: Mon, 12 Dec 2016 12:13:31 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1694477..4ffe7b8 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,8 @@ class LoadDataListener */ public function loadData(CalendarEvent $calendarEvent) { - $startDate = $calendarEvent->getStartDatetime(); - $endDate = $calendarEvent->getEndDatetime(); + $startDate = $calendarEvent->getStart(); + $endDate = $calendarEvent->getEnd(); $filters = $calendarEvent->getFilters(); //You may want do a custom query to populate the events @@ -135,7 +135,7 @@ Add javascript: Install assets ```bash -$> php app/console assets:install web +$> php bin/console assets:install web ``` ### 6. Define routes by default