Documentation

MakeTwigExtension extends AbstractMaker
in package

FinalYes

Convenient abstract class for makers.

Tags
author

Javier Eguiluz javier.eguiluz@gmail.com

author

Ryan Weaver weaverryan@gmail.com

Table of Contents

Methods

configureCommand()  : void
configureDependencies()  : void
generate()  : void
getCommandDescription()  : string
getCommandName()  : string
interact()  : void
If necessary, you can use this method to interactively ask the user for input.
addDependencies()  : string
writeSuccessMessage()  : void

Methods

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

        
On this page

Search results