From bf293eb2b59e3217f3248d869537d7a657b81877 Mon Sep 17 00:00:00 2001 From: ancarebeca Date: Mon, 3 Apr 2017 09:01:24 +0100 Subject: [PATCH] Removed EventInterface and added FullCalendarEvent [#issue27] --- Event/CalendarEvent.php | 3 +-- Model/Event.php | 2 +- Model/EventInterface.php | 24 ------------------------ 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 Model/EventInterface.php diff --git a/Event/CalendarEvent.php b/Event/CalendarEvent.php index 70d3bde..ed63334 100644 --- a/Event/CalendarEvent.php +++ b/Event/CalendarEvent.php @@ -2,7 +2,6 @@ namespace AncaRebeca\FullCalendarBundle\Event; -use AncaRebeca\FullCalendarBundle\Model\EventInterface; use AncaRebeca\FullCalendarBundle\Model\FullCalendarEvent; use Symfony\Component\EventDispatcher\Event as EventDispatcher; @@ -26,7 +25,7 @@ class CalendarEvent extends EventDispatcher protected $filters; /** - * @var EventInterface[] + * @var FullCalendarEvent[] */ protected $events = []; diff --git a/Model/Event.php b/Model/Event.php index c7e68c4..45c2312 100644 --- a/Model/Event.php +++ b/Model/Event.php @@ -2,7 +2,7 @@ namespace AncaRebeca\FullCalendarBundle\Model; -class Event implements EventInterface +class Event extends FullCalendarEvent { /** * @var integer diff --git a/Model/EventInterface.php b/Model/EventInterface.php deleted file mode 100644 index 2601c62..0000000 --- a/Model/EventInterface.php +++ /dev/null @@ -1,24 +0,0 @@ -