From 5d8300b3ab3d9893a0cd7a1afff7279f8c1c32e3 Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Thu, 14 Jul 2016 13:00:26 -0400 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20el=20=5F=5FtoString=20en=20la=20?= =?UTF-8?q?entidad=20Persona?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppBundle/Entity/Persona.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AppBundle/Entity/Persona.php b/src/AppBundle/Entity/Persona.php index f2fe3e9..182a5ff 100644 --- a/src/AppBundle/Entity/Persona.php +++ b/src/AppBundle/Entity/Persona.php @@ -615,7 +615,9 @@ class Persona } - + public function __toString() { + return $this->getPrimerNombre() . " " . $this->getPrimerApellido(); + } -- 2.0.0