Browse Source

Add role to Author::toArray

Jordi Boggiano 13 years ago
parent
commit
27ed5feda3
1 changed files with 1 additions and 0 deletions
  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(),
         );
     }