From 2fd737c02ecc56d0d262c06a9e804a82b3cf1021 Mon Sep 17 00:00:00 2001 From: Matej Bartok Date: Mon, 12 Dec 2016 10:28:30 +0100 Subject: [PATCH 1/2] Support for Symfony 3.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c15afb1..3e72b78 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "require": { "php": ">=5.5.9", - "symfony/symfony": "3.1.*" + "symfony/symfony": "^3.1.0" }, "require-dev": { "phpspec/phpspec": "^2.2" From 9884a71cbd39d14e2bb9918703a857cc18e3e828 Mon Sep 17 00:00:00 2001 From: Matej Bartok Date: Mon, 12 Dec 2016 12:13:31 +0100 Subject: [PATCH 2/2] 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