Commit 5d8300b3ab3d9893a0cd7a1afff7279f8c1c32e3

Authored by Wilmer Ramones
1 parent 3953b7d438
Exists in master

añadido el __toString en la entidad Persona

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/AppBundle/Entity/Persona.php
@@ -615,7 +615,9 @@ class Persona @@ -615,7 +615,9 @@ class Persona
615 } 615 }
616 616
617 617
618 - 618 + public function __toString() {
  619 + return $this->getPrimerNombre() . " " . $this->getPrimerApellido();
  620 + }
619 621
620 622
621 623