RouteGroup
in package
Table of Contents
- merge() : array<string|int, mixed>
- Merge route groups into a new array.
- formatAs() : array<string|int, mixed>
- Format the "as" clause of the new group attributes.
- formatNamespace() : string|null
- Format the namespace for the new group attributes.
- formatPrefix() : string|null
- Format the prefix for the new group attributes.
- formatWhere() : array<string|int, mixed>
- Format the "wheres" for the new group attributes.
Methods
merge()
Merge route groups into a new array.
public
static merge(array<string|int, mixed> $new, array<string|int, mixed> $old) : array<string|int, mixed>
Parameters
- $new : array<string|int, mixed>
- $old : array<string|int, mixed>
Return values
array<string|int, mixed> —formatAs()
Format the "as" clause of the new group attributes.
protected
static formatAs(array<string|int, mixed> $new, array<string|int, mixed> $old) : array<string|int, mixed>
Parameters
- $new : array<string|int, mixed>
- $old : array<string|int, mixed>
Return values
array<string|int, mixed> —formatNamespace()
Format the namespace for the new group attributes.
protected
static formatNamespace(array<string|int, mixed> $new, array<string|int, mixed> $old) : string|null
Parameters
- $new : array<string|int, mixed>
- $old : array<string|int, mixed>
Return values
string|null —formatPrefix()
Format the prefix for the new group attributes.
protected
static formatPrefix(array<string|int, mixed> $new, array<string|int, mixed> $old) : string|null
Parameters
- $new : array<string|int, mixed>
- $old : array<string|int, mixed>
Return values
string|null —formatWhere()
Format the "wheres" for the new group attributes.
protected
static formatWhere(array<string|int, mixed> $new, array<string|int, mixed> $old) : array<string|int, mixed>
Parameters
- $new : array<string|int, mixed>
- $old : array<string|int, mixed>