⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.139
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
vendor
/
doctrine
/
dbal
/
src
/
Schema
/
View File Name :
ColumnDiff.php
<?php namespace Doctrine\DBAL\Schema; use function in_array; /** * Represents the change of a column. */ class ColumnDiff { /** @var string */ public $oldColumnName; /** @var Column */ public $column; /** @var string[] */ public $changedProperties = []; /** @var Column|null */ public $fromColumn; /** * @param string $oldColumnName * @param string[] $changedProperties */ public function __construct( $oldColumnName, Column $column, array $changedProperties = [], ?Column $fromColumn = null ) { $this->oldColumnName = $oldColumnName; $this->column = $column; $this->changedProperties = $changedProperties; $this->fromColumn = $fromColumn; } /** * @param string $propertyName * * @return bool */ public function hasChanged($propertyName) { return in_array($propertyName, $this->changedProperties, true); } /** * @return Identifier */ public function getOldColumnName() { $quote = $this->fromColumn !== null && $this->fromColumn->isQuoted(); return new Identifier($this->oldColumnName, $quote); } }