AspectFactory

class \TYPO3\CMS\Core\Routing\Aspect\AspectFactory

Factory for creating aspects

Table of Contents

Methods

createAspects()  : 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 $settings) : AspectInterface

Parameters

$type : string
$settings : array

Tags

throws
InvalidArgumentException
throws
OutOfRangeException

Return values

AspectInterface
On this page