Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.161.182
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
ramsey /
collection /
src /
Map /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractMap.php
6.16
KB
-rw-r--r--
2020-11-17 16:24
AbstractTypedMap.php
1.72
KB
-rw-r--r--
2020-11-17 16:24
AssociativeArrayMap.php
504
B
-rw-r--r--
2020-11-17 16:24
MapInterface.php
4.26
KB
-rw-r--r--
2020-11-17 16:24
NamedParameterMap.php
3.34
KB
-rw-r--r--
2020-11-17 16:24
TypedMap.php
3.37
KB
-rw-r--r--
2020-11-17 16:24
TypedMapInterface.php
726
B
-rw-r--r--
2020-11-17 16:24
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\Map; use Ramsey\Collection\Exception\InvalidArgumentException; use Ramsey\Collection\Tool\TypeTrait; use Ramsey\Collection\Tool\ValueToStringTrait; /** * This class provides a basic implementation of `TypedMapInterface`, to * minimize the effort required to implement this interface. */ abstract class AbstractTypedMap extends AbstractMap implements TypedMapInterface { use TypeTrait; use ValueToStringTrait; /** * Sets the given value to the given offset in the map. * * @param mixed $offset The offset to set. * @param mixed $value The value to set at the given offset. * * @throws InvalidArgumentException if the offset or value do not match the * expected types. */ public function offsetSet($offset, $value): void { if ($this->checkType($this->getKeyType(), $offset) === false) { throw new InvalidArgumentException( 'Key must be of type ' . $this->getKeyType() . '; key is ' . $this->toolValueToString($offset) ); } if ($this->checkType($this->getValueType(), $value) === false) { throw new InvalidArgumentException( 'Value must be of type ' . $this->getValueType() . '; value is ' . $this->toolValueToString($value) ); } parent::offsetSet($offset, $value); } }