Ver Fonte

Added repositories in package api export

Andrew Tch há 13 anos atrás
pai
commit
5c941d0a2e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/Packagist/WebBundle/Entity/Package.php

+ 1 - 0
src/Packagist/WebBundle/Entity/Package.php

@@ -112,6 +112,7 @@ class Package
             'maintainers' => $maintainers,
             'versions' => $versions,
             'type' => $this->getType(),
+            'repository' => $this->getRepository()
         );
         return $data;
     }