feat(cli): pure alias-based dispatcher in project bin; Commands\Toolbox entry point; describe() required on CommandInterface
BREAKING: project commands implementing CommandInterface must define static describe(): string (intentional, forces documentation).
This commit is contained in:
@@ -10,6 +10,11 @@ use PDO;
|
||||
|
||||
class Migration implements CommandInterface
|
||||
{
|
||||
public static function describe(): string
|
||||
{
|
||||
return 'Migraciones de base de datos (create, migrate, rollback, fresh, clear)';
|
||||
}
|
||||
|
||||
private const MIGRATIONS_PATH = ROOT_DIR . '/migrations/';
|
||||
private string $migratonsDatabaseFile;
|
||||
private PDO $db;
|
||||
|
||||
Reference in New Issue
Block a user