Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Doctrine
DBAL
Migrations
Configuration
Configuration
formatVersion
Doctrine\DBAL\Migrations\Configuration\Configuration::formatVersion PHP Method
Configuration Class Documentation
Show file
Open project: doctrine/migrations
formatVersion()
public
method
Returns a timestamp version as a formatted date
Deprecation:
public
formatVersion
(
string
$version
) :
string
$version
string
return
string
The formatted version
public function formatVersion($version) { return $this->getDateTime($version); }
Configuration
__construct
areMigrationsOrganizedByYear
areMigrationsOrganizedByYearAndMonth
connect
createMigrationTable
ensureMigrationClassExists
ensureOrganizeMigrationsIsCompatibleWithFinder
findMigrations
formatVersion
generateVersionNumber
getAvailableVersions
getConnection
getCurrentVersion
getDateTime
getLatestVersion
getMigratedVersions
getMigrations
getMigrationsColumnName
getMigrationsDirectory
getMigrationsNamespace
getMigrationsTableName
getMigrationsToExecute
getName
getNextVersion
getNumberOfAvailableMigrations
getNumberOfExecutedMigrations
getOutputWriter
getPrevVersion
getRelativeVersion
getVersion
hasVersion
hasVersionMigrated
registerMigration
registerMigrations
registerMigrationsFromDirectory
resolveVersionAlias
setMigrationsAreOrganizedByYear
setMigrationsAreOrganizedByYearAndMonth
setMigrationsColumnName
setMigrationsDirectory
setMigrationsFinder
setMigrationsNamespace
setMigrationsTableName
setName
setOutputWriter
shouldExecuteMigration
validate