final class FlowPersistenceRouteValuesNormalizer implements RouteValuesNormalizerInterface (View source)

internal  
 

Normalizer to convert flow entities in route values to its identity

The identity will be converted back to the object via the property mapper {\Neos\Flow\Property\TypeConverter\PersistentObjectConverter} in the action controller

Methods

__construct(PersistenceManagerInterface $persistenceManager)

No description

array
normalizeObjects(array $array)

Recursively iterates through the given array and turns objects into an arrays containing the identity of the domain object.

Details

__construct(PersistenceManagerInterface $persistenceManager)

No description

Parameters

PersistenceManagerInterface $persistenceManager

array normalizeObjects(array $array)

Recursively iterates through the given array and turns objects into an arrays containing the identity of the domain object.

Parameters

array $array

The array to be iterated over

Return Value

array

The modified array without objects

Exceptions

UnknownObjectException