Explorar o código

Updated interface.

xaav %!s(int64=14) %!d(string=hai) anos
pai
achega
0edf3f8347

+ 8 - 2
src/Packagist/WebBundle/Repository/Repository/RepositoryInterface.php

@@ -7,9 +7,15 @@ interface RepositoryInterface
     /**
      * Return an array of all composer files (by tag).
      *
-     * The array shall be in the form of $unique_identifier => $composer_file
+     * The array shall be in the form of $uniqid => $composer_file
      */
     public function getAllComposerFiles();
 
-    public function getDist($unique_identifier);
+    //TODO: This doesn't seem very clean.
+    public function getDist($uniqid);
+
+    /**
+     * Return the URL of the Repository
+     */
+    public function getUrl();
 }