Ver Fonte

Add role to Author::toArray

Jordi Boggiano há 13 anos atrás
pai
commit
27ed5feda3
1 ficheiros alterados com 1 adições e 0 exclusões
  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(),
         );
     }