From 003137a6079252222bebc70742e6726cb227561a Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Fri, 8 Jul 2016 10:10:11 -0400 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20funcion=20toString=20a=20la=20en?= =?UTF-8?q?tidad=20de=20Eje?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppBundle/Entity/Eje.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AppBundle/Entity/Eje.php b/src/AppBundle/Entity/Eje.php index 1340b41..3a7a642 100644 --- a/src/AppBundle/Entity/Eje.php +++ b/src/AppBundle/Entity/Eje.php @@ -100,4 +100,8 @@ class Eje { return $this->id; } + + public function __toString() { + return $this->getNombre(); + } } \ No newline at end of file -- 2.0.0