Bladeren bron

ZF-10699: Added public visibility to methods

- Added public visibility to shorten() and unshorten() methods of interface

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23352 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew 15 jaren geleden
bovenliggende
commit
5e53ea5623
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      library/Zend/Service/ShortUrl/Shortener.php

+ 2 - 2
library/Zend/Service/ShortUrl/Shortener.php

@@ -33,7 +33,7 @@ interface Zend_Service_ShortUrl_Shortener
      * @param  string $url URL to Shorten
      * @return string Shortened Url
      */
-    function shorten($shortenedUrl);
+    public function shorten($shortenedUrl);
     
     /**
      * Reveals target for short URL
@@ -41,5 +41,5 @@ interface Zend_Service_ShortUrl_Shortener
      * @param  string $shortenedUrl URL to reveal target of
      * @return string Unshortened Url
      */
-    function unshorten($shortenedUrl);
+    public function unshorten($shortenedUrl);
 }