/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Error/Debug
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Error/Debug/ArrayNode.php (1709B)
*/
private $items;
/**
* Constructor
*
* @param array<\Cake\Error\Debug\ArrayItemNode> $items The items for the array
*/
public function __construct(array $items = [])
{
$this->items = [];
foreach ($items as $item) {
$this->add($item);
}
}
/**
* Add an item
*
* @param \Cake\Error\Debug\ArrayItemNode $node The item to add.
* @return void
*/
public function add(ArrayItemNode $node): void
{
$this->items[] = $node;
}
/**
* Get the contained items
*
* @return array<\Cake\Error\Debug\ArrayItemNode>
*/
public function getValue(): array
{
return $this->items;
}
/**
* Get Item nodes
*
* @return array<\Cake\Error\Debug\ArrayItemNode>
*/
public function getChildren(): array
{
return $this->items;
}
}