public function &__get($name)
    {
        list($result, $found) = $this->peridotScanChildren($this, function ($childScope, &$accumulator) use ($name) {
            if (property_exists($childScope, $name)) {
                $accumulator = [$childScope->$name, true, $childScope];
            }
        });
        if (!$found) {
            throw new DomainException("Scope property $name not found");
        }
        return $result;
    }
public function &__get($name)
    {
        list($result, $found) = $this->peridotScanChildren($this, function ($childScope, &$accumulator) use ($name) {
            if (property_exists($childScope, $name)) {
                $accumulator = [$childScope->$name, true, $childScope];
            }
        });
        if (!$found) {
            throw new DomainException("Scope property $name not found");
        }
        return $result;
    }
public function & __get ( $ name ) { list ( $ result , $ found ) = $ this -> peridotScanChildren ( $ this , function ( $ childScope , & $ accumulator ) use ( $ name ) { if ( property_exists ( $ childScope , $ name ) ) { $ accumulator = [ $ childScope -> $ name , true , $ childScope ] ; } } ) ; if ( ! $ found ) { throw new DomainException ( "Scope property $name not found" ) ; } return $ result ; }
Lookup properties on child scopes.

@param $name
@return mixed
@throws DomainException
Lookup properties on child scopes .