From e4526cb621397fa7bee3093dd5d4d84512e077cb Mon Sep 17 00:00:00 2001 From: Matthieu Lamalle Date: Thu, 1 Oct 2020 10:36:48 +0200 Subject: [PATCH] =?UTF-8?q?impl=C3=A9mentaiton=20de=20=5Ftosrting=20a=20pr?= =?UTF-8?q?oject=20pour=20la=20cr=C3=A9ation=20de=20taches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/schedule-2.0/src/Entity/Project.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schedule-2.0/src/Entity/Project.php b/src/schedule-2.0/src/Entity/Project.php index f984085..7bd70ca 100644 --- a/src/schedule-2.0/src/Entity/Project.php +++ b/src/schedule-2.0/src/Entity/Project.php @@ -73,6 +73,10 @@ class Project $this->tasks = new ArrayCollection(); $this->userprojects = new ArrayCollection(); } + public function __toString() + { + return $this->name; + } public function getId(): ?int {