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.218.99.99
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 /
Schema /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Visitor
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
AbstractAsset.php
6
KB
-rw-rw-r--
2022-08-21 14:21
AbstractSchemaManager.php
47.55
KB
-rw-rw-r--
2022-08-21 14:21
Column.php
9.54
KB
-rw-rw-r--
2022-08-21 14:21
ColumnDiff.php
1.55
KB
-rw-rw-r--
2022-08-21 14:21
Comparator.php
21.4
KB
-rw-rw-r--
2022-08-21 14:21
Constraint.php
1.07
KB
-rw-rw-r--
2022-08-21 14:21
DB2SchemaManager.php
12.35
KB
-rw-rw-r--
2022-08-21 14:21
ForeignKeyConstraint.php
11.03
KB
-rw-rw-r--
2022-08-21 14:21
Identifier.php
666
B
-rw-rw-r--
2022-08-21 14:21
Index.php
8.53
KB
-rw-rw-r--
2022-08-21 14:21
MySQLSchemaManager.php
16.77
KB
-rw-rw-r--
2022-08-21 14:21
OracleSchemaManager.php
15.71
KB
-rw-rw-r--
2022-08-21 14:21
PostgreSQLSchemaManager.php
22.49
KB
-rw-rw-r--
2022-08-21 14:21
SQLServerSchemaManager.php
18.22
KB
-rw-rw-r--
2022-08-21 14:21
Schema.php
12.68
KB
-rw-rw-r--
2022-08-21 14:21
SchemaConfig.php
2.41
KB
-rw-rw-r--
2022-08-21 14:21
SchemaDiff.php
3.82
KB
-rw-rw-r--
2022-08-21 14:21
SchemaException.php
5.45
KB
-rw-rw-r--
2022-08-21 14:21
Sequence.php
3.32
KB
-rw-rw-r--
2022-08-21 14:21
SqliteSchemaManager.php
22.31
KB
-rw-rw-r--
2022-08-21 14:21
Table.php
26.31
KB
-rw-rw-r--
2022-08-21 14:21
TableDiff.php
3.11
KB
-rw-rw-r--
2022-08-21 14:21
UniqueConstraint.php
3.23
KB
-rw-rw-r--
2022-08-21 14:21
View.php
457
B
-rw-rw-r--
2022-08-21 14:21
Save
Rename
<?php namespace Doctrine\DBAL\Schema; use Doctrine\DBAL\Platforms\AbstractPlatform; use function array_keys; use function array_map; use function strtolower; /** * Class for a unique constraint. */ class UniqueConstraint extends AbstractAsset implements Constraint { /** * Asset identifier instances of the column names the unique constraint is associated with. * array($columnName => Identifier) * * @var Identifier[] */ protected $columns = []; /** * Platform specific flags. * array($flagName => true) * * @var true[] */ protected $flags = []; /** * Platform specific options. * * @var mixed[] */ private array $options; /** * @param string[] $columns * @param string[] $flags * @param mixed[] $options */ public function __construct(string $name, array $columns, array $flags = [], array $options = []) { $this->_setName($name); $this->options = $options; foreach ($columns as $column) { $this->addColumn($column); } foreach ($flags as $flag) { $this->addFlag($flag); } } /** * {@inheritdoc} */ public function getColumns() { return array_keys($this->columns); } /** * {@inheritdoc} */ public function getQuotedColumns(AbstractPlatform $platform) { $columns = []; foreach ($this->columns as $column) { $columns[] = $column->getQuotedName($platform); } return $columns; } /** * @return string[] */ public function getUnquotedColumns(): array { return array_map([$this, 'trimQuotes'], $this->getColumns()); } /** * Returns platform specific flags for unique constraint. * * @return string[] */ public function getFlags(): array { return array_keys($this->flags); } /** * Adds flag for a unique constraint that translates to platform specific handling. * * @return $this * * @example $uniqueConstraint->addFlag('CLUSTERED') */ public function addFlag(string $flag): UniqueConstraint { $this->flags[strtolower($flag)] = true; return $this; } /** * Does this unique constraint have a specific flag? */ public function hasFlag(string $flag): bool { return isset($this->flags[strtolower($flag)]); } /** * Removes a flag. */ public function removeFlag(string $flag): void { unset($this->flags[strtolower($flag)]); } /** * Does this unique constraint have a specific option? */ public function hasOption(string $name): bool { return isset($this->options[strtolower($name)]); } /** * @return mixed */ public function getOption(string $name) { return $this->options[strtolower($name)]; } /** * @return mixed[] */ public function getOptions(): array { return $this->options; } /** * Adds a new column to the unique constraint. */ protected function addColumn(string $column): void { $this->columns[$column] = new Identifier($column); } }