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 : 3.148.235.247
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
dbal /
src /
Types /
Delete
Unzip
Name
Size
Permission
Date
Action
ArrayType.php
2.05
KB
-rw-rw-r--
2022-08-21 14:21
AsciiStringType.php
582
B
-rw-rw-r--
2022-08-21 14:21
BigIntType.php
857
B
-rw-rw-r--
2022-08-21 14:21
BinaryType.php
1.32
KB
-rw-rw-r--
2022-08-21 14:21
BlobType.php
1.3
KB
-rw-rw-r--
2022-08-21 14:21
BooleanType.php
1.62
KB
-rw-rw-r--
2022-08-21 14:21
ConversionException.php
3.6
KB
-rw-rw-r--
2022-08-21 14:21
DateImmutableType.php
1.78
KB
-rw-rw-r--
2022-08-21 14:21
DateIntervalType.php
2.2
KB
-rw-rw-r--
2022-08-21 14:21
DateTimeImmutableType.php
1.94
KB
-rw-rw-r--
2022-08-21 14:21
DateTimeType.php
1.67
KB
-rw-rw-r--
2022-08-21 14:21
DateTimeTzImmutableType.php
1.82
KB
-rw-rw-r--
2022-08-21 14:21
DateTimeTzType.php
2.42
KB
-rw-rw-r--
2022-08-21 14:21
DateType.php
1.5
KB
-rw-rw-r--
2022-08-21 14:21
DecimalType.php
976
B
-rw-rw-r--
2022-08-21 14:21
FloatType.php
597
B
-rw-rw-r--
2022-08-21 14:21
GuidType.php
952
B
-rw-rw-r--
2022-08-21 14:21
IntegerType.php
852
B
-rw-rw-r--
2022-08-21 14:21
JsonType.php
2.04
KB
-rw-rw-r--
2022-08-21 14:21
ObjectType.php
1.81
KB
-rw-rw-r--
2022-08-21 14:21
PhpDateTimeMappingType.php
183
B
-rw-rw-r--
2022-08-21 14:21
PhpIntegerMappingType.php
163
B
-rw-rw-r--
2022-08-21 14:21
SimpleArrayType.php
1.65
KB
-rw-rw-r--
2022-08-21 14:21
SmallIntType.php
864
B
-rw-rw-r--
2022-08-21 14:21
StringType.php
482
B
-rw-rw-r--
2022-08-21 14:21
TextType.php
733
B
-rw-rw-r--
2022-08-21 14:21
TimeImmutableType.php
1.78
KB
-rw-rw-r--
2022-08-21 14:21
TimeType.php
1.5
KB
-rw-rw-r--
2022-08-21 14:21
Type.php
8.34
KB
-rw-rw-r--
2022-08-21 14:21
TypeRegistry.php
2.78
KB
-rw-rw-r--
2022-08-21 14:21
Types.php
1.58
KB
-rw-rw-r--
2022-08-21 14:21
VarDateTimeImmutableType.php
1.69
KB
-rw-rw-r--
2022-08-21 14:21
VarDateTimeType.php
901
B
-rw-rw-r--
2022-08-21 14:21
Save
Rename
<?php declare(strict_types=1); namespace Doctrine\DBAL\Types; use Doctrine\DBAL\Exception; use function array_search; use function in_array; /** * The type registry is responsible for holding a map of all known DBAL types. * The types are stored using the flyweight pattern so that one type only exists as exactly one instance. */ final class TypeRegistry { /** @var array<string, Type> Map of type names and their corresponding flyweight objects. */ private array $instances; /** * @param array<string, Type> $instances */ public function __construct(array $instances = []) { $this->instances = $instances; } /** * Finds a type by the given name. * * @throws Exception */ public function get(string $name): Type { if (! isset($this->instances[$name])) { throw Exception::unknownColumnType($name); } return $this->instances[$name]; } /** * Finds a name for the given type. * * @throws Exception */ public function lookupName(Type $type): string { $name = $this->findTypeName($type); if ($name === null) { throw Exception::typeNotRegistered($type); } return $name; } /** * Checks if there is a type of the given name. */ public function has(string $name): bool { return isset($this->instances[$name]); } /** * Registers a custom type to the type map. * * @throws Exception */ public function register(string $name, Type $type): void { if (isset($this->instances[$name])) { throw Exception::typeExists($name); } if ($this->findTypeName($type) !== null) { throw Exception::typeAlreadyRegistered($type); } $this->instances[$name] = $type; } /** * Overrides an already defined type to use a different implementation. * * @throws Exception */ public function override(string $name, Type $type): void { if (! isset($this->instances[$name])) { throw Exception::typeNotFound($name); } if (! in_array($this->findTypeName($type), [$name, null], true)) { throw Exception::typeAlreadyRegistered($type); } $this->instances[$name] = $type; } /** * Gets the map of all registered types and their corresponding type instances. * * @internal * * @return array<string, Type> */ public function getMap(): array { return $this->instances; } private function findTypeName(Type $type): ?string { $name = array_search($type, $this->instances, true); if ($name === false) { return null; } return $name; } }