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

@internal
@param string $name
@param array $source
@return mixed Reference to value in $source
Navigate to nested value in source array by name creating a null placeholder if it doesn t exist .