* This file is part of Twig.
*
* (c) Fabien Potencier
* (c) Armin Ronacher
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Twig\Node;
use Twig\Compiler;
use Twig\Source;
/**
* Represents a node in the AST.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class Node implements \Twig_NodeInterface
{
protected $nodes;
protected $attributes;
protected $lineno;
protected $tag;
private $name;
private $sourceContext;
/**
* @param array $nodes An array of named nodes
* @param array $attributes An array of attributes (should not be nodes)
* @param int $lineno The line number
* @param string $tag The tag name associated with the Node
*/
public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null)
{
foreach ($nodes as $name => $node) {
if (!$node instanceof \Twig_NodeInterface) {
@trigger_error(sprintf('Using "%s" for the value of node "%s" of "%s" is deprecated since version 1.25 and will be removed in 2.0.', \is_object($node) ? \get_class($node) : (null === $node ? 'null' : \gettype($node)), $name, static::class), \E_USER_DEPRECATED);
""" Error: During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213\n Stack trace:\n #0 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/www/doc/www.in...', 213)\n #1 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/www/doc/www.in...', 213)\n #2 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/vendor/composer/ClassLoader.php(571): include('/www/doc/www.in...')\n #3 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/www/doc/www.in...')\n #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node')\n #5 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node')\n #6 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/vendor/composer/ClassLoader.php(571): include('/www/doc/www.in...')\n #7 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/www/doc/www.in...')\n #8 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter')\n #9 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader))\n #10 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader))\n #11 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer()\n #12 /www/doc/www.intereso.cz/www/_work/j4ventureii/templates/jl_venture_ii/error.php(46): Gantry\Component\Theme\AbstractTheme->render('error.html.twig', Array)\n #13 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Document/HtmlDocument.php(736): require('/www/doc/www.in...')\n #14 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate('/www/doc/www.in...', 'error.php')\n #15 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)\n #16 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Document/HtmlDocument.php(626): Joomla\CMS\Document\HtmlDocument->parse(Array)\n #17 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Document/ErrorDocument.php(139): Joomla\CMS\Document\HtmlDocument->render(false, Array)\n #18 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Error/Renderer/HtmlRenderer.php(78): Joomla\CMS\Document\ErrorDocument->render(false, Array)\n #19 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Exception/ExceptionHandler.php(121): Joomla\CMS\Error\Renderer\HtmlRenderer->render(Object(Whoops\Exception\ErrorException))\n #20 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Exception/ExceptionHandler.php(72): Joomla\CMS\Exception\ExceptionHandler::render(Object(Whoops\Exception\ErrorException))\n #21 /www/doc/www.intereso.cz/www/_work/j4ventureii/libraries/src/Application/CMSApplication.php(323): Joomla\CMS\Exception\ExceptionHandler::handleException(Object(Whoops\Exception\ErrorException))\n #22 /www/doc/www.intereso.cz/www/_work/j4ventureii/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()\n #23 /www/doc/www.intereso.cz/www/_work/j4ventureii/index.php(32): require_once('/www/doc/www.in...')\n #24 {main} """
Key | Value |
UNIQUE_ID | "aCVOYypgtCKVanj0ZA4MUQAAAAM"
|
HTTPS | "on"
|
HTTP_HOST | "intereso.cz"
|
HTTP_X_REAL_IP | "18.97.9.169"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_CONNECTION | "close"
|
HTTP_USER_AGENT | "CCBot/2.0 (https://commoncrawl.org/faq/)"
|
HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.5"
|
HTTP_IF_MODIFIED_SINCE | "Mon, 20 May 2024 14:30:24 GMT"
|
HTTP_ACCEPT_ENCODING | "br,gzip"
|
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache"
|
SERVER_NAME | "intereso.cz"
|
SERVER_ADDR | "31.15.10.156"
|
SERVER_PORT | "443"
|
REMOTE_ADDR | "18.97.9.169"
|
DOCUMENT_ROOT | "/www/doc/www.intereso.cz/www"
|
REQUEST_SCHEME | "https"
|
CONTEXT_PREFIX | "" |
CONTEXT_DOCUMENT_ROOT | "/www/doc/www.intereso.cz/www"
|
SERVER_ADMIN | "info@active24.cz"
|
SCRIPT_FILENAME | "/www/doc/www.intereso.cz/www/_work/j4ventureii/index.php"
|
REMOTE_PORT | "38066"
|
GEOIP_ADDR | "18.97.9.169"
|
GEOIP_CONTINENT_CODE | "NA"
|
GEOIP_COUNTRY_CODE | "US"
|
GEOIP_COUNTRY_NAME | "United States"
|
MAILUSER | "postmaster"
|
MAILHOST | "intereso.cz"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
REQUEST_URI | "/_work/j4ventureii/index.php/nase-slutby33/doprovazeni-pestounskych-rodin"
|
SCRIPT_NAME | "/_work/j4ventureii/index.php"
|
PATH_INFO | "/nase-slutby33/doprovazeni-pestounskych-rodin"
|
PATH_TRANSLATED | "/www/doc/www.intereso.cz/www/nase-slutby33/doprovazeni-pestounskych-rodin"
|
PHP_SELF | "/_work/j4ventureii/index.php/nase-slutby33/doprovazeni-pestounskych-rodin"
|
REQUEST_TIME_FLOAT | 1747275363.28
|
REQUEST_TIME | 1747275363
|
argv | [] |
argc | 0
|
Key | Value |
LANGUAGE | "en_US:en"
|
SHLVL | "0"
|
APACHE_RUN_DIR | "/var/run/apache88"
|
SYSTEMD_EXEC_PID | "4028767"
|
APACHE_PID_FILE | "/var/run/apache88.pid"
|
JOURNAL_STREAM | "8:326135949"
|
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
INVOCATION_ID | "9f09d016f25f42bdaf02124ec76ccb23"
|
APACHE_LOCK_DIR | "/var/lock/apache88"
|
LANG | "C"
|
LD_PRELOAD | "/usr/lib/mywrap.so "
|
APACHE_ARGUMENTS | "-d /etc/apache88 -f /etc/apache88/apache2.conf"
|
APACHE_RUN_USER | "www-data"
|
APACHE_RUN_GROUP | "www-data"
|
APACHE_HTTPD | "/usr/sbin/apache88"
|
PWD | "/"
|