Pārlūkot izejas kodu

Improve class docs

Daniel Rudolf 8 gadi atpakaļ
vecāks
revīzija
0b4099fdb0
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      lib/Pico.php

+ 3 - 0
lib/Pico.php

@@ -1431,6 +1431,9 @@ class Pico
     /**
      * Returns the URL to a given page
      *
+     * This method can be used in Twig templates by applying the `link` filter
+     * to a string representing a page identifier.
+     *
      * @param  string       $page      identifier of the page to link to
      * @param  array|string $queryData either an array containing properties to
      *     create a URL-encoded query string from, or a already encoded string