X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/e0cf523ebc5837a1bc23bec7e1917dbb75c8d747..8a277662d5755d3f28a53a77f82d4376bdcbccba:/Entity/Location.php?ds=inline diff --git a/Entity/Location.php b/Entity/Location.php index 6e66cea..57af698 100644 --- a/Entity/Location.php +++ b/Entity/Location.php @@ -28,11 +28,6 @@ class Location { */ private $title; - /** - * @var string - */ - private $short; - /** * @var string */ @@ -92,6 +87,9 @@ class Location { * Constructor */ public function __construct() { + //Set defaults + $this->created = new \DateTime('now'); + $this->updated = new \DateTime('now'); $this->sessions = new ArrayCollection(); $this->snippets = new ArrayCollection(); $this->users = new ArrayCollection(); @@ -128,28 +126,6 @@ class Location { return $this->title; } - /** - * Set short - * - * @param string $short - * - * @return Location - */ - public function setShort(string $short): Location { - $this->short = $short; - - return $this; - } - - /** - * Get short - * - * @return string - */ - public function getShort(): string { - return $this->short; - } - /** * Set address *