Skip to content

Commit

Permalink
Added id param in Calendar::event method
Browse files Browse the repository at this point in the history
Added $id param in Calendar::event
  • Loading branch information
nezaboravi committed Aug 16, 2015
1 parent dd3c982 commit 21b797a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MaddHatter/LaravelFullcalendar/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ public function __construct(Factory $view, EventCollection $eventCollection)
* @param string $isAllDay
* @param string|DateTime $start If string, must be valid datetime format: http://bit.ly/1z7QWbg
* @param string|DateTime $end If string, must be valid datetime format: http://bit.ly/1z7QWbg
* @param string $id event Id
* @return SimpleEvent
*/
public static function event($title, $isAllDay, $start, $end)
public static function event($title, $isAllDay, $start, $end, $id)
{
return new SimpleEvent($title, $isAllDay, $start, $end);
return new SimpleEvent($title, $isAllDay, $start, $end, $id);
}

/**
Expand Down

0 comments on commit 21b797a

Please sign in to comment.