/home/techb158/ileadtechnology.com/SSM/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema
NameSizeModeActions
Synchronizer/-0755rm
Visitor/-0755rm
AbstractAsset.php57010644editdlrm
AbstractSchemaManager.php297070644editdlrm
Column.php84750644editdlrm
ColumnDiff.php11980644editdlrm
Comparator.php195810644editdlrm
Constraint.php9930644editdlrm
DB2SchemaManager.php73600644editdlrm
DrizzleSchemaManager.php31210644editdlrm
ForeignKeyConstraint.php107880644editdlrm
Identifier.php6660644editdlrm
Index.php88240644editdlrm
MySqlSchemaManager.php113210644editdlrm
OracleSchemaManager.php124570644editdlrm
PostgreSqlSchemaManager.php160890644editdlrm
Schema.php123060644editdlrm
SchemaConfig.php19040644editdlrm
SchemaDiff.php43090644editdlrm
SchemaException.php54690644editdlrm
Sequence.php30240644editdlrm
SQLAnywhereSchemaManager.php73960644editdlrm
SqliteSchemaManager.php166200644editdlrm
SQLServerSchemaManager.php109590644editdlrm
Table.php241150644editdlrm
TableDiff.php31920644editdlrm
View.php4570644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/Sequence.php (3024B)
_setName($name); $this->setAllocationSize($allocationSize); $this->setInitialValue($initialValue); $this->cache = $cache; } /** * @return int */ public function getAllocationSize() { return $this->allocationSize; } /** * @return int */ public function getInitialValue() { return $this->initialValue; } /** * @return int|null */ public function getCache() { return $this->cache; } /** * @param int $allocationSize * * @return \Doctrine\DBAL\Schema\Sequence */ public function setAllocationSize($allocationSize) { $this->allocationSize = (int) $allocationSize ?: 1; return $this; } /** * @param int $initialValue * * @return \Doctrine\DBAL\Schema\Sequence */ public function setInitialValue($initialValue) { $this->initialValue = (int) $initialValue ?: 1; return $this; } /** * @param int $cache * * @return \Doctrine\DBAL\Schema\Sequence */ public function setCache($cache) { $this->cache = $cache; return $this; } /** * Checks if this sequence is an autoincrement sequence for a given table. * * This is used inside the comparator to not report sequences as missing, * when the "from" schema implicitly creates the sequences. * * @return bool */ public function isAutoIncrementsFor(Table $table) { $primaryKey = $table->getPrimaryKey(); if ($primaryKey === null) { return false; } $pkColumns = $primaryKey->getColumns(); if (count($pkColumns) !== 1) { return false; } $column = $table->getColumn($pkColumns[0]); if (! $column->getAutoincrement()) { return false; } $sequenceName = $this->getShortestName($table->getNamespaceName()); $tableName = $table->getShortestName($table->getNamespaceName()); $tableSequenceName = sprintf('%s_%s_seq', $tableName, $column->getShortestName($table->getNamespaceName())); return $tableSequenceName === $sequenceName; } /** * @return void */ public function visit(Visitor $visitor) { $visitor->acceptSequence($this); } }