Improve class docs

This commit is contained in:
Daniel Rudolf 2016-09-17 20:02:49 +02:00
parent f73c9622b8
commit 0b4099fdb0
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -1431,6 +1431,9 @@ class Pico
/** /**
* Returns the URL to a given page * 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 string $page identifier of the page to link to
* @param array|string $queryData either an array containing properties to * @param array|string $queryData either an array containing properties to
* create a URL-encoded query string from, or a already encoded string * create a URL-encoded query string from, or a already encoded string