Skip to content

Commit

Permalink
Merge pull request #21 from mbartok/master
Browse files Browse the repository at this point in the history
Add support for Symfony 3.2
  • Loading branch information
ancarebeca committed Dec 15, 2016
2 parents bd4d799 + 9884a71 commit 0adf773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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 <a id="routing"></a>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -15,7 +15,7 @@
"require": {
"php": ">=5.5.9",

"symfony/symfony": "3.1.*"
"symfony/symfony": "^3.1.0"
},
"require-dev": {
"phpspec/phpspec": "^2.2"
Expand Down

0 comments on commit 0adf773

Please sign in to comment.