public static getDefault ( ) : static | ||
return | static |
public static function getDefault()
{
return self::$_default;
}
/** * Get the root object behind the facade. * * @return mixed */ public static function getFacadeInstance() { $className = get_called_class(); if (!isset(static::$_instances[$className])) { static::$_instances[$className] = Di::getDefault()->getShared(static::getFacadeName()); } return static::$_instances[$className]; }