alters
Table of Contents
Traits
- AlterArrayCleanPropertyTrait
- AlterArrayPropertyTrait
- AlterCallablePropertyTrait
- AlterFloatPropertyTrait
- AlterGetDocumentPropertyTrait
- Provides logic to retrieve a document using a Documents model based on a given value and definition.
- AlterHydratePropertyTrait
- AlterIntPropertyTrait
- Casts a value (or all elements in an array) to integer.
- AlterJSONParsePropertyTrait
- AlterJSONStringifyPropertyTrait
- AlterKeyTrait
- Provides a default key to use in the alter methods.
- AlterNormalizePropertyTrait
- AlterNotPropertyTrait
- Provides an alteration to invert boolean values.
- AlterUrlPropertyTrait
- Generates URL strings from document properties, with support for base URL resolution from a DI container.
- AlterValueTrait
- Provides a method to replace a value with a fixed new one if different.