interface RouteValuesNormalizerInterface (View source)

internal  
 

Normalizer to convert route values when resolving a route to its primitive types

$uriBuilder->uriFor( 'someThing', ['myObject' => $object] );

This applies for internal exceeding arguments which are eventually encoded via http_build_query() for the uri.

Methods

array
normalizeObjects(array $array)

Normalize objects in an array to a set of arrays/scalars

Details

array normalizeObjects(array $array)

Normalize objects in an array to a set of arrays/scalars

Parameters

array $array

The array to be iterated over

Return Value

array

The modified array without objects