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 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"