Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 9 of 9) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Resources/
Dcore.php431 function twig_constant($constant, $object = null) argument
435 return CoreExtension::constant($constant, $object);
443 function twig_constant_is_defined($constant, $object = null) argument
447 return CoreExtension::constant($constant, $object, true);
/template/strap/ComboStrap/
H A DIso8601Date.php193 public static function getInternationalFormatter($constant): int argument
195 $constantNormalized = trim(strtolower($constant));
218 … throw new ExceptionNotFound("The constant ($constant) is not a valid constant", self::CANONICAL);
/template/twigstarter/vendor/twig/twig/src/Extension/
DCoreExtension.php1599 * @param string $constant The name of the constant
1609 public static function constant($constant, $object = null, bool $checkDefined = false) argument
1612 if ('class' === $constant) {
1616 $constant = $object::class.'::'.$constant;
1619 if (!\defined($constant)) {
1624 if ('::class' === strtolower(substr($constant, -7))) {
1625 …ject and call constant("class", $object) or use the class name directly as a string.', $constant));
1628 throw new RuntimeError(\sprintf('Constant "%s" is undefined.', $constant));
1631 return $checkDefined ? true : \constant($constant);
1817 return \constant($object::class.'::'.$item);
/template/strap/vendor/symfony/polyfill-php80/
H A DREADME.md10 - `FILTER_VALIDATE_BOOL` constant
/template/dokui/css/
Dhighlight.css35 pre .ruby .constant {
/template/strap/grammar/
H A DPageSql.g476 // constant
102 // A string constant is formed by enclosing the string in single quotes ('). A single quote within …
/template/twigstarter/vendor/twig/twig/
DCHANGELOG128 * Fix `constant()` behavior when used with `??`
162 this can be a BC break if you don't use UPPERCASE constant names
300 * Fix constant return type
393 * Add a better exception when getting an undefined constant via `constant`
421 * Add support for "constant('class', object)"
/template/strap/vendor/symfony/yaml/
H A DInline.php635 return \constant($const);
/template/bootstrap3/
DRELEASE.md428 …* #175: Use the ``tpl_basedir()`` function instead of deprecated ``DOKU_TPL`` constant (thanks to …