AspectFactory

Factory for creating aspects

Table of Contents

Methods

createAspects()  : array<string|int, AspectInterface>
Create aspects from the given settings.
create()  : AspectInterface
Creates an aspect
enrich()  : AspectInterface
Checks for the language aware trait, and adds the site language.
sortAspects()  : int
Sorts aspects with putting persisted aspects to the end, thus non-persisted aspects can be executed earlier without invoking database.

Methods

create()

Creates an aspect

protected create(string $type, array<string|int, mixed> $settings) : AspectInterface
Parameters
$type : string
$settings : array<string|int, mixed>
Tags
throws
InvalidArgumentException
throws
OutOfRangeException
Return values
AspectInterface

        
On this page

Search results