瀏覽代碼

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(),
         );
     }