Skip to content
Browse files

added toString for Identity

  • Loading branch information...
1 parent 7a1e380 commit 33d40e6be8654ef73af7567f2a9393cdf2efe119 @juzna committed Dec 23, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 Nella/Security/IdentityEntity.php
View
4 Nella/Security/IdentityEntity.php
@@ -258,4 +258,8 @@ public function removeCredentials(CredentialsEntity $cred) {
public function setCredentials(array $cred) {
$this->credentials = new \Doctrine\Common\Collections\ArrayCollection($cred);
}
+
+ public function __toString() {
+ return $this->displayName;
+ }
}

0 comments on commit 33d40e6

Please sign in to comment.
Something went wrong with that request. Please try again.