Sfoglia il codice sorgente

Add role to Author::toArray

Jordi Boggiano 13 anni fa
parent
commit
27ed5feda3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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(),
         );
     }