Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
vendor /
ramsey /
collection /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-sr-x
2024-02-14 08:51
Map
[ DIR ]
drwxr-sr-x
2023-05-21 12:05
Tool
[ DIR ]
drwxr-sr-x
2023-05-21 12:05
AbstractArray.php
4.27
KB
-rw-r--r--
2025-12-08 10:53
AbstractCollection.php
11.02
KB
-rw-r--r--
2025-12-08 10:53
AbstractSet.php
1.4
KB
-rw-r--r--
2025-12-08 10:53
ArrayInterface.php
1.04
KB
-rw-r--r--
2025-12-08 10:53
Collection.php
2.26
KB
-rw-r--r--
2025-12-08 10:53
CollectionInterface.php
8.94
KB
-rw-r--r--
2025-12-08 10:53
DoubleEndedQueue.php
4.19
KB
-rw-r--r--
2025-12-08 10:53
DoubleEndedQueueInterface.php
10.12
KB
-rw-r--r--
2025-12-08 10:53
GenericArray.php
512
B
-rw-r--r--
2025-12-08 10:53
Queue.php
3.58
KB
-rw-r--r--
2025-12-08 10:53
QueueInterface.php
7.22
KB
-rw-r--r--
2025-12-08 10:53
Set.php
1.53
KB
-rw-r--r--
2025-12-08 10:53
Sort.php
621
B
-rw-r--r--
2025-12-08 10:53
Save
Rename
<?php /** * This file is part of the ramsey/collection library * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> * @license http://opensource.org/licenses/MIT MIT */ declare(strict_types=1); namespace Ramsey\Collection; /** * A set is a collection that contains no duplicate elements. * * Great care must be exercised if mutable objects are used as set elements. * The behavior of a set is not specified if the value of an object is changed * in a manner that affects equals comparisons while the object is an element in * the set. * * Example usage: * * ``` * $foo = new \My\Foo(); * $set = new Set(\My\Foo::class); * * $set->add($foo); // returns TRUE, the element doesn't exist * $set->add($foo); // returns FALSE, the element already exists * * $bar = new \My\Foo(); * $set->add($bar); // returns TRUE, $bar !== $foo * ``` * * @template T * @extends AbstractSet<T> */ class Set extends AbstractSet { /** * Constructs a set object of the specified type, optionally with the * specified data. * * @param string $setType The type or class name associated with this set. * @param array<array-key, T> $data The initial items to store in the set. */ public function __construct(private readonly string $setType, array $data = []) { parent::__construct($data); } public function getType(): string { return $this->setType; } }