Documentation

MakeSubscriber 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

Properties

$eventRegistry  : EventRegistry

Methods

__construct()  : mixed
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
getEventConstant()  : string|null

Properties

Methods

__construct()

public __construct(EventRegistry $eventRegistry) : mixed
Parameters
$eventRegistry : EventRegistry

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

getEventConstant()

private getEventConstant(string $event) : string|null
Parameters
$event : string
Return values
string|null

        
On this page

Search results