$atgetMigrationName()

Get the migration name from its filename

Usage

$string = $at->getMigrationName(string $file);

Arguments

NameType(s)Description
$filestring

Full path or basename of migration file

Return value

string

e.g. "add-blog-post-template"


$at methods and properties

API reference based on ProcessWire core version 3.0.261