ソースを参照

Add role to Author::toArray

Jordi Boggiano 13 年 前
コミット
27ed5feda3
1 ファイル変更1 行追加0 行削除
  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(),
         );
     }