src/Control/Session.php
protected function nestedValue($name, $source)
    {
        // Find var to change
        $var = $source;
        foreach (explode('.', $name) as $namePart) {
            if (!isset($var[$namePart])) {
                return null;
            }
            $var = $var[$namePart];
        }
        return $var;
    }
protected function nestedValue($name, $source)
    {
        // Find var to change
        $var = $source;
        foreach (explode('.', $name) as $namePart) {
            if (!isset($var[$namePart])) {
                return null;
            }
            $var = $var[$namePart];
        }
        return $var;
    }
protected function nestedValue ( $ name , $ source ) { // Find var to change $ var = $ source ; foreach ( explode ( '.' , $ name ) as $ namePart ) { if ( ! isset ( $ var [ $ namePart ] ) ) { return null ; } $ var = $ var [ $ namePart ] ; } return $ var ; }
Navigate to nested value in source array by name,
returning null if it doesn't exist.

@internal
@param string $name
@param array $source
@return mixed Value in array in $source
Navigate to nested value in source array by name returning null if it doesn t exist .