MappableProcessor
Helper class for resolving all aspects that are mappable.
Table of Contents
Methods
- generate() : bool
- resolve() : bool
- fetchMappers() : array<string|int, MappableAspectInterface>
Methods
generate()
public
generate(Route $route, array<string|int, mixed> &$attributes) : bool
Parameters
- $route : Route
- $attributes : array<string|int, mixed>
Return values
boolresolve()
public
resolve(Route $route, array<string|int, mixed> &$attributes) : bool
Parameters
- $route : Route
- $attributes : array<string|int, mixed>
Return values
boolfetchMappers()
protected
fetchMappers(Route $route, array<string|int, mixed> $attributes[, string $type = MappableAspectInterface::class ]) : array<string|int, MappableAspectInterface>
Parameters
- $route : Route
- $attributes : array<string|int, mixed>
- $type : string = MappableAspectInterface::class