mediatekformation

MakeMigration extends AbstractMaker
in package
implements ApplicationAwareMakerInterface

Convenient abstract class for makers.

Tags
author

Amrouche Hamza hamza.simperfit@gmail.com

author

Ryan Weaver ryan@knpuniversity.com

Interfaces, Classes, Traits and Enums

ApplicationAwareMakerInterface
Implement this interface if your Maker needs access to the Application.

Table of Contents

$application  : Application
$projectDir  : mixed
__construct()  : mixed
configureCommand()  : mixed
configureDependencies()  : mixed
generate()  : mixed
getCommandDescription()  : string
getCommandName()  : string
interact()  : mixed
If necessary, you can use this method to interactively ask the user for input.
setApplication()  : mixed
addDependencies()  : string
writeSuccessMessage()  : mixed
getGeneratedMigrationFilename()  : string
noChangesMessage()  : mixed

Properties

Methods

__construct()

public __construct(string $projectDir) : mixed
Parameters
$projectDir : string
Return values
mixed

getCommandDescription()

public static getCommandDescription() : string
Return values
string

getCommandName()

public static getCommandName() : string
Return values
string

addDependencies()

protected addDependencies(array<string|int, mixed> $dependencies[, string $message = null ]) : string
Parameters
$dependencies : array<string|int, mixed>
$message : string = null
Return values
string

getGeneratedMigrationFilename()

private getGeneratedMigrationFilename(string $migrationOutput) : string
Parameters
$migrationOutput : string
Return values
string

Search results