Deprecated: Constant E_STRICT is deprecated in /var/www/PixelForce/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/PixelForce/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Entity/MeetingEvent.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MeetingEventRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use JsonSerializable;
  6. use Symfony\Component\Validator\Constraints as Assert;
  7. /**
  8.  * @ORM\Entity(repositoryClass=MeetingEventRepository::class)
  9.  */
  10. class MeetingEvent implements JsonSerializable
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.      /**
  19.      * @ORM\ManyToOne(targetEntity="Meeting", inversedBy="meetingEvents")
  20.      * @ORM\JoinColumn(name="meeting_id", referencedColumnName="id")
  21.      */
  22.     private $meeting;
  23.      /**
  24.      * @ORM\ManyToOne(targetEntity="CalendarEvent", inversedBy="meetingEvents")
  25.      * @ORM\JoinColumn(name="calendar_event_id", referencedColumnName="id")
  26.      */
  27.     private $calendarEvent;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getMeeting(): ?Meeting
  33.     {
  34.         return $this->meeting;
  35.     }
  36.     public function setMeeting(Meeting $meeting): self
  37.     {
  38.         $this->meeting $meeting;
  39.         return $this;
  40.     }
  41.     public function getCalendarEvent(): ?CalendarEvent
  42.     {
  43.         return $this->calendarEvent;
  44.     }
  45.     public function setCalendarEvent(CalendarEvent $calendarEvent): self
  46.     {
  47.         $this->calendarEvent $calendarEvent;
  48.         return $this;
  49.     }
  50.     public function jsonSerialize()
  51.     {
  52.         $vars get_object_vars($this);
  53.         return $vars;
  54.     }
  55. }