src/includes/traits/Facades/App.php
public static function appCore(): Classes\App
    {
        if (!($Parent = $GLOBALS[static::class]->Parent)) {
            return $GLOBALS[static::class];
            //
        } else { // Find root core.
            while ($Parent->Parent) {
                $Parent = $Parent->Parent;
            }
            return $Parent;
        }
    }
public static function appCore(): Classes\App
    {
        if (!($Parent = $GLOBALS[static::class]->Parent)) {
            return $GLOBALS[static::class];
            //
        } else { // Find root core.
            while ($Parent->Parent) {
                $Parent = $Parent->Parent;
            }
            return $Parent;
        }
    }
@since 160715 App core.

@return Classes\App Core.