Explorar o código

Add role to Author::toArray

Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
27ed5feda3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Packagist/WebBundle/Entity/Author.php

+ 1 - 0
src/Packagist/WebBundle/Entity/Author.php

@@ -85,6 +85,7 @@ class Author
             'name' => $this->getName(),
             'email' => $this->getEmail(),
             'homepage' => $this->getHomepage(),
+            'role' => $this->getRole(),
         );
     }