Page MenuHomePhorge

PhabricatorConfigColumnSchema.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

PhabricatorConfigColumnSchema.php

<?php
final class PhabricatorConfigColumnSchema
extends PhabricatorConfigStorageSchema {
private $characterSet;
private $collation;
private $columnType;
public function setColumnType($column_type) {
$this->columnType = $column_type;
return $this;
}
public function getColumnType() {
return $this->columnType;
}
protected function getSubschemata() {
return array();
}
public function setCollation($collation) {
$this->collation = $collation;
return $this;
}
public function getCollation() {
return $this->collation;
}
public function setCharacterSet($character_set) {
$this->characterSet = $character_set;
return $this;
}
public function getCharacterSet() {
return $this->characterSet;
}
public function compareToSimilarSchema(
PhabricatorConfigStorageSchema $expect) {
$issues = array();
if ($this->getCharacterSet() != $expect->getCharacterSet()) {
$issues[] = self::ISSUE_CHARSET;
}
if ($this->getCollation() != $expect->getCollation()) {
$issues[] = self::ISSUE_COLLATION;
}
if ($this->getColumnType() != $expect->getColumnType()) {
$issues[] = self::ISSUE_COLUMNTYPE;
}
return $issues;
}
public function newEmptyClone() {
$clone = clone $this;
return $clone;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, May 4, 11:01 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
64851
Default Alt Text
PhabricatorConfigColumnSchema.php (1 KB)

Event Timeline