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\ArrayInterface; /** * An object that maps keys to values. * * A map cannot contain duplicate keys; each key can map to at most one value. */ interface MapInterface extends ArrayInterface { /** * Returns `true` if this map contains a mapping for the specified key. * * @param mixed $key The key to check in the map. */ public function containsKey($key): bool; /** * Returns `true` if this map maps one or more keys to the specified value. * * This performs a strict type check on the value. * * @param mixed $value The value to check in the map. */ public function containsValue($value): bool; /** * Return an array of the keys contained in this map. * * @return mixed[] */ public function keys(): array; /** * Returns the value to which the specified key is mapped, `null` if this * map contains no mapping for the key, or (optionally) `$defaultValue` if * this map contains no mapping for the key. * * @param mixed $key The key to return from the map. * @param mixed $defaultValue The default value to use if `$key` is not found. * * @return mixed|null the value or `null` if the key could not be found. */ public function get($key, $defaultValue = null); /** * Associates the specified value with the specified key in this map. * * If the map previously contained a mapping for the key, the old value is * replaced by the specified value. * * @param mixed $key The key to put or replace in the map. * @param mixed $value The value to store at `$key`. * * @return mixed|null the previous value associated with key, or `null` if * there was no mapping for `$key`. */ public function put($key, $value); /** * Associates the specified value with the specified key in this map only if * it is not already set. * * If there is already a value associated with `$key`, this returns that * value without replacing it. * * @param mixed $key The key to put in the map. * @param mixed $value The value to store at `$key`. * * @return mixed|null the previous value associated with key, or `null` if * there was no mapping for `$key`. */ public function putIfAbsent($key, $value); /** * Removes the mapping for a key from this map if it is present. * * @param mixed $key The key to remove from the map. * * @return mixed|null the previous value associated with key, or `null` if * there was no mapping for `$key`. */ public function remove($key); /** * Removes the entry for the specified key only if it is currently mapped to * the specified value. * * This performs a strict type check on the value. * * @param mixed $key The key to remove from the map. * @param mixed $value The value to match. * * @return bool true if the value was removed. */ public function removeIf($key, $value): bool; /** * Replaces the entry for the specified key only if it is currently mapped * to some value. * * @param mixed $key The key to replace. * @param mixed $value The value to set at `$key`. * * @return mixed|null the previous value associated with key, or `null` if * there was no mapping for `$key`. */ public function replace($key, $value); /** * Replaces the entry for the specified key only if currently mapped to the * specified value. * * This performs a strict type check on the value. * * @param mixed $key The key to remove from the map. * @param mixed $oldValue The value to match. * @param mixed $newValue The value to use as a replacement. * * @return bool true if the value was replaced. */ public function replaceIf($key, $oldValue, $newValue): bool; }