Oihana PHP

alters

Table of Contents

Traits

AlterArrayCleanPropertyTrait
Removes empty or null entries from an array value.
AlterArrayPropertyTrait
Turns a value into an array and optionally alters each of its elements.
AlterCallablePropertyTrait
Provides support for altering a property value using a user-defined callable.
AlterFloatPropertyTrait
Provides a standardized way to cast a property value to `float` within the AlterDocument system.
AlterGetDocumentPropertyTrait
Provides logic to retrieve a document using a Documents model based on a given value and definition.
AlterHydratePropertyTrait
Hydrates an array value into a typed object instance during property alteration.
AlterIntPropertyTrait
Casts a value (or all elements in an array) to integer.
AlterJSONParsePropertyTrait
Decodes a JSON string property into its native PHP representation.
AlterJSONStringifyPropertyTrait
Encodes a property value into its JSON string representation.
AlterKeyTrait
Provides support for defining and initializing the default "alter key".
AlterListififyPropertyTrait
Provides a method to transform a string or array into a normalized list string.
AlterMapPropertyTrait
Alters a property of a document through a context-aware "map" callback.
AlterNormalizePropertyTrait
Provides a method to normalize a property value according to configurable cleaning flags.
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.
On this page

Search results