AlterUrlPropertyTrait
Table of Contents
Methods
- alterUrlProperty() : string
- Generates a document url.
Methods
alterUrlProperty()
Generates a document url.
public
alterUrlProperty(array<string|int, mixed>|object $document[, array<string|int, mixed> $options = [] ][, bool|null $isArray = null ][, bool &$modified = false ][, string $propertyName = 'id' ]) : string
Parameters
- $document : array<string|int, mixed>|object
- $options : array<string|int, mixed> = []
- $isArray : bool|null = null
- $modified : bool = false
- $propertyName : string = 'id'
-
The default property value to use to alter the url property (Default 'id').