Sfoglia il codice sorgente

Added repositories in package api export

Andrew Tch 13 anni fa
parent
commit
5c941d0a2e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
     }