Aspect
Table of Contents
Interfaces
- AspectInterface
- Base interface for all aspects
- MappableAspectInterface
- Aspects that have a mapping table (either static, or in the database).
- ModifiableAspectInterface
- Interface that describes modifiers that provide static modifications to route paths based on a given context (current locale, context, ...).
- PersistedMappableAspectInterface
- Used for anything that invokes (more expensive) persistence invocations.
- StaticMappableAspectInterface
- Used for anything that has a fixed list of values mapped against route arguments.
- UnresolvedValueInterface
- Provides fallback values for unresolved values during processing mappers.
Classes
- AspectFactory
- Factory for creating aspects
- LocaleModifier
- Locale modifier to be used to modify routePath directly.
- MappableProcessor
- Helper class for resolving all aspects that are mappable.
- PersistedAliasMapper
- Classic usage when using a "URL segment" (e.g. slug) field within a database table.
- PersistedPatternMapper
- Very useful for building a path segment from a combined value of the database.
- StaticRangeMapper
- Very useful for e.g. pagination or static range like "2011 ... 2030" for years.
- StaticValueMapper
- Mapper for having a static list of mapping them to value properties.
Traits
- AspectTrait
- SiteAccessorTrait
- Helper trait to use a site within a class.
- SiteLanguageAccessorTrait
- UnresolvedValueTrait
- Provides fallback values for unresolved values during processing mappers.