File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/vendor/nette/neon/src/Neon/Node/ArrayNode.php
Back
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); namespace RectorPrefix202208\Nette\Neon\Node; use RectorPrefix202208\Nette\Neon\Node; /** @internal */ abstract class ArrayNode extends Node { /** @var ArrayItemNode[] */ public $items = []; /** @return mixed[] */ public function toValue() : array { return ArrayItemNode::itemsToArray($this->items); } public function &getIterator() : \Generator { foreach ($this->items as &$item) { (yield $item); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings