trait HandlesStubs (View source)

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

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