소스 검색

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