$at→getMigrationName()
Get the migration name from its filename
Usage
$string = $at->getMigrationName(string $file);Arguments
| Name | Type(s) | Description |
|---|---|---|
$file | string | Full path or basename of migration file |
Return value
stringe.g. "add-blog-post-template"
API reference based on ProcessWire core version 3.0.261