GlobalData.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Kirki\App\Supports\Facades; |
| 4 | |
| 5 | defined( 'ABSPATH' ) || exit; |
| 6 | |
| 7 | use Kirki\App\Managers\GlobalDataManager; |
| 8 | use Kirki\Framework\Facade; |
| 9 | |
| 10 | /** |
| 11 | * Global data Support Facade |
| 12 | * @method static mixed get(string $key) |
| 13 | * @method static void update(string $key, $value) |
| 14 | * @method static array get_deprecated_global_style_blocks() |
| 15 | * @method static void update_deprecated_global_style_blocks($styles) |
| 16 | * @method static array get_style_blocks() |
| 17 | * @method static void update_style_blocks($styles) |
| 18 | * @method static array get_global_ui_controller() |
| 19 | * @method static void update_global_ui_controller($controller) |
| 20 | * @method static array get_global_ui_saved_data() |
| 21 | * @method static void update_global_ui_saved_data($data) |
| 22 | * @method static array get_global_custom_fonts() |
| 23 | * @method static void update_global_custom_fonts($fonts) |
| 24 | * @method static array get_variable_data() |
| 25 | * @method static array normalize_variable_data(array $raw_data) |
| 26 | * @method static array sort_variable_data(array $variable_data) |
| 27 | * @method static array get_initial_viewports() |
| 28 | * @method static array get_view_port_list() |
| 29 | * |
| 30 | * @see \Kirki\App\Managers\GlobalDataManager |
| 31 | */ |
| 32 | class GlobalData extends Facade |
| 33 | { |
| 34 | public static function get_accessor() |
| 35 | { |
| 36 | return GlobalDataManager::class; |
| 37 | } |
| 38 | } |
| 39 |