class GeneratePackageCommand extends Command (View source)

Traits

Properties

protected $signature
protected $description

Methods

string
replaceVariables(array $variables, string $stub, array|null $delimiters = null)

No description

string
replaceConditionals($conditionals, string $stub, array|null $delimiters = null)

No description

string
removeEmptyLinesWithOnlySpaces(string $stub)

No description

void
handle()

No description

void
generatePackage()

No description

void
writeComposerJson()

No description

void
writeServiceProvider()

No description

void
displayMessage()

No description

getProviderName()

No description

Details

string replaceVariables(array $variables, string $stub, array|null $delimiters = null)

No description

Parameters

array $variables
string $stub
array|null $delimiters

Return Value

string

string replaceConditionals($conditionals, string $stub, array|null $delimiters = null)

No description

Parameters

$conditionals
string $stub
array|null $delimiters

Return Value

string

string removeEmptyLinesWithOnlySpaces(string $stub)

No description

Parameters

string $stub

Return Value

string

void handle()

No description

Return Value

void

protected void generatePackage()

No description

Return Value

void

protected void writeComposerJson()

No description

Return Value

void

protected void writeServiceProvider()

No description

Return Value

void

protected void displayMessage()

No description

Return Value

void

protected getProviderName()

No description