mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
tweaked docs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
* 1.38.0 (2019-XX-XX)
|
||||
|
||||
* added max value to the "random" function
|
||||
* made namespace classes the default classes (PSR-0 ones are aliases now)
|
||||
* removed duplicated directory separator in FilesystemLoader
|
||||
* added Twig\Loader\ChainLoader::getLoaders()
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
.. versionadded:: 1.6
|
||||
String and integer handling was added in Twig 1.6.
|
||||
|
||||
.. versionadded:: 1.38
|
||||
The "max" argument was added in Twig 1.38.
|
||||
|
||||
The ``random`` function returns a random value depending on the supplied
|
||||
parameter type:
|
||||
|
||||
@@ -28,5 +31,6 @@ Arguments
|
||||
---------
|
||||
|
||||
* ``values``: The values
|
||||
* ``max``: The max value when values is an integer
|
||||
|
||||
.. _`mt_rand`: https://secure.php.net/mt_rand
|
||||
|
||||
Reference in New Issue
Block a user