From 8057490475203394a95f05166331db2c1613c31c Mon Sep 17 00:00:00 2001 From: WildEgo Date: Wed, 18 Jun 2025 22:50:24 +0100 Subject: [PATCH] change: MariaDB migration. chores: Update dependencies. add: IDE Helper. --- _ide_helper.php | 27760 ++++++++++++++++ app/Console/Kernel.php | 27 - .../Controllers/Auth/RegisterController.php | 20 +- app/Models/Account.php | 19 +- app/Models/Game/Common/Locale.php | 9 +- .../Game/Highscore/GuildHighscoreCache.php | 9 +- app/Models/Game/Highscore/HighscoreCache.php | 9 +- app/Models/Game/Player/Banword.php | 9 +- app/Models/Game/Player/ItemAttr.php | 7 - app/Models/Game/Player/ItemAttrRare.php | 7 - app/Models/Game/Player/ItemProto.php | 7 - app/Models/Game/Player/Land.php | 7 - app/Models/Game/Player/ObjectProto.php | 7 - app/Models/Game/Player/Player.php | 7 - app/Models/Game/Player/PlayerIndex.php | 8 - app/Models/Game/Player/RefineProto.php | 7 - app/Models/Game/Player/Shop.php | 7 - app/Models/Game/Player/ShopItem.php | 7 - app/Models/Game/Player/SkillProto.php | 7 - app/Models/Mall/MallCategory.php | 9 - app/Models/Mall/MallItem.php | 28 +- app/Providers/EventServiceProvider.php | 8 +- composer.json | 1 + composer.lock | 1561 +- config/database.php | 52 +- database/data/land.json | 3890 +-- database/data/mall_items.json | 2234 +- database/data/skill_proto.json | 5084 +-- ...08_19_000001_create_failed_jobs_table.php} | 0 ...30_000000_create_account_account_table.php | 49 - ...024_03_30_000000_create_log_cube_table.php | 38 - ...0_000000_create_log_hack_crc_log_table.php | 36 - ...03_30_000000_create_log_hack_log_table.php | 35 - ...000000_create_log_hackshield_log_table.php | 35 - ...03_30_000000_create_log_loginlog_table.php | 39 - ...30_000000_create_log_playercount_table.php | 34 - ...0000_create_player_guild_war_bet_table.php | 35 - ...0_create_player_monarch_election_table.php | 32 - ..._30_000000_create_player_monarch_table.php | 33 - ...3_30_000000_create_player_object_table.php | 39 - ...00000_create_player_player_index_table.php | 35 - ...2024_03_30_000002_create_account_table.php | 49 + ...2024_03_30_000003_create_player_table.php} | 18 +- ... 2024_03_30_000004_create_guild_table.php} | 14 +- ...2024_03_30_000005_create_affect_table.php} | 5 +- ...024_03_30_000006_create_banword_table.php} | 6 +- ...024_03_30_000007_create_bootlog_table.php} | 6 +- ..._30_000008_create_change_empire_table.php} | 8 +- ...03_30_000009_create_change_name_table.php} | 8 +- ...03_30_000010_create_command_log_table.php} | 18 +- .../2024_03_30_000011_create_cube_table.php | 41 + ...0_000012_create_dragon_slay_log_table.php} | 10 +- ...24_03_30_000013_create_fish_log_table.php} | 18 +- ...2024_03_30_000014_create_gmhost_table.php} | 6 +- ...2024_03_30_000015_create_gmlist_table.php} | 13 +- ...024_03_30_000016_create_goldlog_table.php} | 11 +- ..._30_000017_create_guild_comment_table.php} | 10 +- ...03_30_000018_create_guild_grade_table.php} | 11 +- ...19_create_guild_highscore_cache_table.php} | 6 +- ...3_30_000020_create_guild_member_table.php} | 14 +- ...4_03_30_000021_player_guild_war_table.php} | 9 +- ...22_create_guild_war_reservation_table.php} | 13 +- ...3_30_000023_create_guild_war_bet_table.php | 38 + ...024_03_30_000024_create_hack_log_table.php | 37 + ...0_000025_create_highscore_cache_table.php} | 6 +- ..._03_30_000026_create_horse_name_table.php} | 10 +- ...30_000027_create_item_attr_rare_table.php} | 32 +- ...4_03_30_000028_create_item_attr_table.php} | 32 +- ..._03_30_000029_create_item_award_table.php} | 19 +- ..._03_30_000030_create_item_proto_table.php} | 8 +- ...> 2024_03_30_000031_create_item_table.php} | 6 +- ...> 2024_03_30_000032_create_land_table.php} | 22 +- ...24_03_30_000033_create_levellog_table.php} | 12 +- ...2024_03_30_000034_create_locale_table.php} | 8 +- ...=> 2024_03_30_000035_create_log_table.php} | 6 +- ...24_03_30_000036_create_loginlog_table.php} | 16 +- ..._03_30_000037_create_lotto_list_table.php} | 8 +- ...0_000038_create_mall_categories_table.php} | 6 +- ...4_03_30_000039_create_mall_data_table.php} | 6 +- ..._03_30_000040_create_mall_items_table.php} | 10 +- ...3_30_000041_create_mall_storage_table.php} | 12 +- ...24_03_30_000042_create_marriage_table.php} | 14 +- ...30_000043_create_messenger_list_table.php} | 8 +- ...4_03_30_000044_create_mob_proto_table.php} | 6 +- ...000045_create_monarch_candidacy_table.php} | 11 +- ...0_000046_create_monarch_election_table.php | 35 + ...2024_03_30_000047_create_monarch_table.php | 35 + ...4_03_30_000048_create_money_log_table.php} | 4 +- ..._000049_create_myshop_pricelist_table.php} | 11 +- ...3_30_000050_create_object_proto_table.php} | 13 +- .../2024_03_30_000051_create_object_table.php | 41 + ...30_000052_create_player_deleted_table.php} | 14 +- ...03_30_000053_create_player_index_table.php | 41 + ..._000054_create_quest_reward_log_table.php} | 14 +- ... 2024_03_30_000055_create_quest_table.php} | 11 +- ...3_30_000056_create_refine_proto_table.php} | 6 +- ...4_03_30_000057_create_refinelog_table.php} | 13 +- ...024_03_30_000058_create_safebox_table.php} | 8 +- ...> 2024_03_30_000059_create_shop_table.php} | 6 +- ...4_03_30_000060_create_shop_item_table.php} | 9 +- ...4_03_30_000061_create_shout_log_table.php} | 6 +- ...03_30_000062_create_skill_proto_table.php} | 16 +- ...024_03_30_000063_create_spam_db_table.php} | 11 +- ..._03_30_000064_create_speed_hack_table.php} | 14 +- ...1_01_000000_alter_common_spam_db_table.php | 59 - package-lock.json | 2 +- 106 files changed, 35060 insertions(+), 7183 deletions(-) create mode 100644 _ide_helper.php delete mode 100644 app/Console/Kernel.php rename database/migrations/{2019_08_19_000000_create_failed_jobs_table.php => 2019_08_19_000001_create_failed_jobs_table.php} (100%) delete mode 100644 database/migrations/2024_03_30_000000_create_account_account_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_cube_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_hack_crc_log_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_hack_log_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_hackshield_log_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_loginlog_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_log_playercount_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_player_guild_war_bet_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_player_monarch_election_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_player_monarch_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_player_object_table.php delete mode 100644 database/migrations/2024_03_30_000000_create_player_player_index_table.php create mode 100644 database/migrations/2024_03_30_000002_create_account_table.php rename database/migrations/{2024_03_30_000000_create_player_player_table.php => 2024_03_30_000003_create_player_table.php} (84%) rename database/migrations/{2024_03_30_000000_create_player_guild_table.php => 2024_03_30_000004_create_guild_table.php} (68%) rename database/migrations/{2024_03_30_000000_create_player_affect_table.php => 2024_03_30_000005_create_affect_table.php} (82%) rename database/migrations/{2024_03_30_000000_create_player_banword_table.php => 2024_03_30_000006_create_banword_table.php} (73%) rename database/migrations/{2024_03_30_000000_create_log_bootlog_table.php => 2024_03_30_000007_create_bootlog_table.php} (71%) rename database/migrations/{2024_03_30_000000_create_player_change_empire_table.php => 2024_03_30_000008_create_change_empire_table.php} (68%) rename database/migrations/{2024_03_30_000000_create_log_change_name_table.php => 2024_03_30_000009_create_change_name_table.php} (73%) rename database/migrations/{2024_03_30_000000_create_log_command_log_table.php => 2024_03_30_000010_create_command_log_table.php} (51%) create mode 100644 database/migrations/2024_03_30_000011_create_cube_table.php rename database/migrations/{2024_03_30_000000_create_log_dragon_slay_log_table.php => 2024_03_30_000012_create_dragon_slay_log_table.php} (61%) rename database/migrations/{2024_03_30_000000_create_log_fish_log_table.php => 2024_03_30_000013_create_fish_log_table.php} (50%) rename database/migrations/{2024_03_30_000000_create_common_gmhost_table.php => 2024_03_30_000014_create_gmhost_table.php} (67%) rename database/migrations/{2024_03_30_000000_create_common_gmlist_table.php => 2024_03_30_000015_create_gmlist_table.php} (60%) rename database/migrations/{2024_03_30_000000_create_log_goldlog_table.php => 2024_03_30_000016_create_goldlog_table.php} (70%) rename database/migrations/{2024_03_30_000000_create_player_guild_comment_table.php => 2024_03_30_000017_create_guild_comment_table.php} (65%) rename database/migrations/{2024_03_30_000000_create_player_guild_grade_table.php => 2024_03_30_000018_create_guild_grade_table.php} (64%) rename database/migrations/{2024_03_30_000000_create_website_guild_highscore_cache_table.php => 2024_03_30_000019_create_guild_highscore_cache_table.php} (73%) rename database/migrations/{2024_03_30_000000_create_player_guild_member_table.php => 2024_03_30_000020_create_guild_member_table.php} (54%) rename database/migrations/{2024_03_30_000000_create_player_guild_war_table.php => 2024_03_30_000021_player_guild_war_table.php} (64%) rename database/migrations/{2024_03_30_000000_create_player_guild_war_reservation_table.php => 2024_03_30_000022_create_guild_war_reservation_table.php} (72%) create mode 100644 database/migrations/2024_03_30_000023_create_guild_war_bet_table.php create mode 100644 database/migrations/2024_03_30_000024_create_hack_log_table.php rename database/migrations/{2024_03_30_000000_create_website_highscore_cache_table.php => 2024_03_30_000025_create_highscore_cache_table.php} (74%) rename database/migrations/{2024_03_30_000000_create_player_horse_name_table.php => 2024_03_30_000026_create_horse_name_table.php} (59%) rename database/migrations/{2024_03_30_000000_create_player_item_attr_rare_table.php => 2024_03_30_000027_create_item_attr_rare_table.php} (67%) rename database/migrations/{2024_03_30_000000_create_player_item_attr_table.php => 2024_03_30_000028_create_item_attr_table.php} (70%) rename database/migrations/{2024_03_30_000000_create_player_item_award_table.php => 2024_03_30_000029_create_item_award_table.php} (58%) rename database/migrations/{2024_03_30_000000_create_player_item_proto_table.php => 2024_03_30_000030_create_item_proto_table.php} (91%) rename database/migrations/{2024_03_30_000000_create_player_item_table.php => 2024_03_30_000031_create_item_table.php} (89%) rename database/migrations/{2024_03_30_000000_create_player_land_table.php => 2024_03_30_000032_create_land_table.php} (56%) rename database/migrations/{2024_03_30_000000_create_log_levellog_table.php => 2024_03_30_000033_create_levellog_table.php} (60%) rename database/migrations/{2024_03_30_000000_create_common_locale_table.php => 2024_03_30_000034_create_locale_table.php} (70%) rename database/migrations/{2024_03_30_000000_create_log_log_table.php => 2024_03_30_000035_create_log_table.php} (82%) rename database/migrations/{2024_03_30_000000_create_log_loginlog2_table.php => 2024_03_30_000036_create_loginlog_table.php} (57%) rename database/migrations/{2024_03_30_000000_create_player_lotto_list_table.php => 2024_03_30_000037_create_lotto_list_table.php} (70%) rename database/migrations/{2024_03_30_000000_create_website_mall_categories_table.php => 2024_03_30_000038_create_mall_categories_table.php} (74%) rename database/migrations/{2024_03_30_000000_create_website_mall_data_table.php => 2024_03_30_000039_create_mall_data_table.php} (76%) rename database/migrations/{2024_03_30_000000_create_website_mall_items_table.php => 2024_03_30_000040_create_mall_items_table.php} (78%) rename database/migrations/{2024_03_30_000000_create_website_mall_storage_table.php => 2024_03_30_000041_create_mall_storage_table.php} (78%) rename database/migrations/{2024_03_30_000000_create_player_marriage_table.php => 2024_03_30_000042_create_marriage_table.php} (54%) rename database/migrations/{2024_03_30_000000_create_player_messenger_list_table.php => 2024_03_30_000043_create_messenger_list_table.php} (62%) rename database/migrations/{2024_03_30_000000_create_player_mob_proto_table.php => 2024_03_30_000044_create_mob_proto_table.php} (96%) rename database/migrations/{2024_03_30_000000_create_player_monarch_candidacy_table.php => 2024_03_30_000045_create_monarch_candidacy_table.php} (59%) create mode 100644 database/migrations/2024_03_30_000046_create_monarch_election_table.php create mode 100644 database/migrations/2024_03_30_000047_create_monarch_table.php rename database/migrations/{2024_03_30_000000_create_log_money_log_table.php => 2024_03_30_000048_create_money_log_table.php} (83%) rename database/migrations/{2024_03_30_000000_create_player_myshop_pricelist_table.php => 2024_03_30_000049_create_myshop_pricelist_table.php} (57%) rename database/migrations/{2024_03_30_000000_create_player_object_proto_table.php => 2024_03_30_000050_create_object_proto_table.php} (75%) create mode 100644 database/migrations/2024_03_30_000051_create_object_table.php rename database/migrations/{2024_03_30_000000_create_player_player_deleted_table.php => 2024_03_30_000052_create_player_deleted_table.php} (87%) create mode 100644 database/migrations/2024_03_30_000053_create_player_index_table.php rename database/migrations/{2024_03_30_000000_create_log_quest_reward_log_table.php => 2024_03_30_000054_create_quest_reward_log_table.php} (57%) rename database/migrations/{2024_03_30_000000_create_player_quest_table.php => 2024_03_30_000055_create_quest_table.php} (60%) rename database/migrations/{2024_03_30_000000_create_player_refine_proto_table.php => 2024_03_30_000056_create_refine_proto_table.php} (87%) rename database/migrations/{2024_03_30_000000_create_log_refinelog_table.php => 2024_03_30_000057_create_refinelog_table.php} (63%) rename database/migrations/{2024_03_30_000000_create_player_safebox_table.php => 2024_03_30_000058_create_safebox_table.php} (71%) rename database/migrations/{2024_03_30_000000_create_player_shop_table.php => 2024_03_30_000059_create_shop_table.php} (78%) rename database/migrations/{2024_03_30_000000_create_player_shop_item_table.php => 2024_03_30_000060_create_shop_item_table.php} (73%) rename database/migrations/{2024_03_30_000000_create_log_shout_log_table.php => 2024_03_30_000061_create_shout_log_table.php} (69%) rename database/migrations/{2024_03_30_000000_create_player_skill_proto_table.php => 2024_03_30_000062_create_skill_proto_table.php} (88%) rename database/migrations/{2024_03_30_000000_create_common_spam_db_table.php => 2024_03_30_000063_create_spam_db_table.php} (62%) rename database/migrations/{2024_03_30_000000_create_log_speed_hack_table.php => 2024_03_30_000064_create_speed_hack_table.php} (57%) delete mode 100644 database/migrations/2025_01_01_000000_alter_common_spam_db_table.php diff --git a/_ide_helper.php b/_ide_helper.php new file mode 100644 index 0000000..60988d8 --- /dev/null +++ b/_ide_helper.php @@ -0,0 +1,27760 @@ + + * @see https://github.com/barryvdh/laravel-ide-helper + */ +namespace Illuminate\Support\Facades { + /** + * + * + * @see \Illuminate\Foundation\Application + */ + class App { + /** + * Begin configuring a new Laravel application instance. + * + * @param string|null $basePath + * @return \Illuminate\Foundation\Configuration\ApplicationBuilder + * @static + */ + public static function configure($basePath = null) + { + return \Illuminate\Foundation\Application::configure($basePath); + } + + /** + * Infer the application's base directory from the environment. + * + * @return string + * @static + */ + public static function inferBasePath() + { + return \Illuminate\Foundation\Application::inferBasePath(); + } + + /** + * Get the version number of the application. + * + * @return string + * @static + */ + public static function version() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->version(); + } + + /** + * Run the given array of bootstrap classes. + * + * @param string[] $bootstrappers + * @return void + * @static + */ + public static function bootstrapWith($bootstrappers) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->bootstrapWith($bootstrappers); + } + + /** + * Register a callback to run after loading the environment. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function afterLoadingEnvironment($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->afterLoadingEnvironment($callback); + } + + /** + * Register a callback to run before a bootstrapper. + * + * @param string $bootstrapper + * @param \Closure $callback + * @return void + * @static + */ + public static function beforeBootstrapping($bootstrapper, $callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->beforeBootstrapping($bootstrapper, $callback); + } + + /** + * Register a callback to run after a bootstrapper. + * + * @param string $bootstrapper + * @param \Closure $callback + * @return void + * @static + */ + public static function afterBootstrapping($bootstrapper, $callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->afterBootstrapping($bootstrapper, $callback); + } + + /** + * Determine if the application has been bootstrapped before. + * + * @return bool + * @static + */ + public static function hasBeenBootstrapped() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->hasBeenBootstrapped(); + } + + /** + * Set the base path for the application. + * + * @param string $basePath + * @return \Illuminate\Foundation\Application + * @static + */ + public static function setBasePath($basePath) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->setBasePath($basePath); + } + + /** + * Get the path to the application "app" directory. + * + * @param string $path + * @return string + * @static + */ + public static function path($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->path($path); + } + + /** + * Set the application directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useAppPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useAppPath($path); + } + + /** + * Get the base path of the Laravel installation. + * + * @param string $path + * @return string + * @static + */ + public static function basePath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->basePath($path); + } + + /** + * Get the path to the bootstrap directory. + * + * @param string $path + * @return string + * @static + */ + public static function bootstrapPath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->bootstrapPath($path); + } + + /** + * Get the path to the service provider list in the bootstrap directory. + * + * @return string + * @static + */ + public static function getBootstrapProvidersPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getBootstrapProvidersPath(); + } + + /** + * Set the bootstrap file directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useBootstrapPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useBootstrapPath($path); + } + + /** + * Get the path to the application configuration files. + * + * @param string $path + * @return string + * @static + */ + public static function configPath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->configPath($path); + } + + /** + * Set the configuration directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useConfigPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useConfigPath($path); + } + + /** + * Get the path to the database directory. + * + * @param string $path + * @return string + * @static + */ + public static function databasePath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->databasePath($path); + } + + /** + * Set the database directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useDatabasePath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useDatabasePath($path); + } + + /** + * Get the path to the language files. + * + * @param string $path + * @return string + * @static + */ + public static function langPath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->langPath($path); + } + + /** + * Set the language file directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useLangPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useLangPath($path); + } + + /** + * Get the path to the public / web directory. + * + * @param string $path + * @return string + * @static + */ + public static function publicPath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->publicPath($path); + } + + /** + * Set the public / web directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function usePublicPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->usePublicPath($path); + } + + /** + * Get the path to the storage directory. + * + * @param string $path + * @return string + * @static + */ + public static function storagePath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->storagePath($path); + } + + /** + * Set the storage directory. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useStoragePath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useStoragePath($path); + } + + /** + * Get the path to the resources directory. + * + * @param string $path + * @return string + * @static + */ + public static function resourcePath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->resourcePath($path); + } + + /** + * Get the path to the views directory. + * + * This method returns the first configured path in the array of view paths. + * + * @param string $path + * @return string + * @static + */ + public static function viewPath($path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->viewPath($path); + } + + /** + * Join the given paths together. + * + * @param string $basePath + * @param string $path + * @return string + * @static + */ + public static function joinPaths($basePath, $path = '') + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->joinPaths($basePath, $path); + } + + /** + * Get the path to the environment file directory. + * + * @return string + * @static + */ + public static function environmentPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->environmentPath(); + } + + /** + * Set the directory for the environment file. + * + * @param string $path + * @return \Illuminate\Foundation\Application + * @static + */ + public static function useEnvironmentPath($path) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->useEnvironmentPath($path); + } + + /** + * Set the environment file to be loaded during bootstrapping. + * + * @param string $file + * @return \Illuminate\Foundation\Application + * @static + */ + public static function loadEnvironmentFrom($file) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->loadEnvironmentFrom($file); + } + + /** + * Get the environment file the application is using. + * + * @return string + * @static + */ + public static function environmentFile() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->environmentFile(); + } + + /** + * Get the fully qualified path to the environment file. + * + * @return string + * @static + */ + public static function environmentFilePath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->environmentFilePath(); + } + + /** + * Get or check the current application environment. + * + * @param string|array $environments + * @return string|bool + * @static + */ + public static function environment(...$environments) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->environment(...$environments); + } + + /** + * Determine if the application is in the local environment. + * + * @return bool + * @static + */ + public static function isLocal() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isLocal(); + } + + /** + * Determine if the application is in the production environment. + * + * @return bool + * @static + */ + public static function isProduction() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isProduction(); + } + + /** + * Detect the application's current environment. + * + * @param \Closure $callback + * @return string + * @static + */ + public static function detectEnvironment($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->detectEnvironment($callback); + } + + /** + * Determine if the application is running in the console. + * + * @return bool + * @static + */ + public static function runningInConsole() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->runningInConsole(); + } + + /** + * Determine if the application is running any of the given console commands. + * + * @param string|array $commands + * @return bool + * @static + */ + public static function runningConsoleCommand(...$commands) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->runningConsoleCommand(...$commands); + } + + /** + * Determine if the application is running unit tests. + * + * @return bool + * @static + */ + public static function runningUnitTests() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->runningUnitTests(); + } + + /** + * Determine if the application is running with debug mode enabled. + * + * @return bool + * @static + */ + public static function hasDebugModeEnabled() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->hasDebugModeEnabled(); + } + + /** + * Register a new registered listener. + * + * @param callable $callback + * @return void + * @static + */ + public static function registered($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->registered($callback); + } + + /** + * Register all of the configured providers. + * + * @return void + * @static + */ + public static function registerConfiguredProviders() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->registerConfiguredProviders(); + } + + /** + * Register a service provider with the application. + * + * @param \Illuminate\Support\ServiceProvider|string $provider + * @param bool $force + * @return \Illuminate\Support\ServiceProvider + * @static + */ + public static function register($provider, $force = false) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->register($provider, $force); + } + + /** + * Get the registered service provider instance if it exists. + * + * @param \Illuminate\Support\ServiceProvider|string $provider + * @return \Illuminate\Support\ServiceProvider|null + * @static + */ + public static function getProvider($provider) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getProvider($provider); + } + + /** + * Get the registered service provider instances if any exist. + * + * @param \Illuminate\Support\ServiceProvider|string $provider + * @return array + * @static + */ + public static function getProviders($provider) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getProviders($provider); + } + + /** + * Resolve a service provider instance from the class name. + * + * @param string $provider + * @return \Illuminate\Support\ServiceProvider + * @static + */ + public static function resolveProvider($provider) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->resolveProvider($provider); + } + + /** + * Load and boot all of the remaining deferred providers. + * + * @return void + * @static + */ + public static function loadDeferredProviders() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->loadDeferredProviders(); + } + + /** + * Load the provider for a deferred service. + * + * @param string $service + * @return void + * @static + */ + public static function loadDeferredProvider($service) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->loadDeferredProvider($service); + } + + /** + * Register a deferred provider and service. + * + * @param string $provider + * @param string|null $service + * @return void + * @static + */ + public static function registerDeferredProvider($provider, $service = null) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->registerDeferredProvider($provider, $service); + } + + /** + * Resolve the given type from the container. + * + * @template TClass of object + * @param string|class-string $abstract + * @param array $parameters + * @return ($abstract is class-string ? TClass : mixed) + * @throws \Illuminate\Contracts\Container\BindingResolutionException + * @static + */ + public static function make($abstract, $parameters = []) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->make($abstract, $parameters); + } + + /** + * Determine if the given abstract type has been bound. + * + * @param string $abstract + * @return bool + * @static + */ + public static function bound($abstract) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->bound($abstract); + } + + /** + * Determine if the application has booted. + * + * @return bool + * @static + */ + public static function isBooted() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isBooted(); + } + + /** + * Boot the application's service providers. + * + * @return void + * @static + */ + public static function boot() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->boot(); + } + + /** + * Register a new boot listener. + * + * @param callable $callback + * @return void + * @static + */ + public static function booting($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->booting($callback); + } + + /** + * Register a new "booted" listener. + * + * @param callable $callback + * @return void + * @static + */ + public static function booted($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->booted($callback); + } + + /** + * {@inheritdoc} + * + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function handle($request, $type = 1, $catch = true) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->handle($request, $type, $catch); + } + + /** + * Handle the incoming HTTP request and send the response to the browser. + * + * @param \Illuminate\Http\Request $request + * @return void + * @static + */ + public static function handleRequest($request) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->handleRequest($request); + } + + /** + * Handle the incoming Artisan command. + * + * @param \Symfony\Component\Console\Input\InputInterface $input + * @return int + * @static + */ + public static function handleCommand($input) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->handleCommand($input); + } + + /** + * Determine if the framework's base configuration should be merged. + * + * @return bool + * @static + */ + public static function shouldMergeFrameworkConfiguration() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->shouldMergeFrameworkConfiguration(); + } + + /** + * Indicate that the framework's base configuration should not be merged. + * + * @return \Illuminate\Foundation\Application + * @static + */ + public static function dontMergeFrameworkConfiguration() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->dontMergeFrameworkConfiguration(); + } + + /** + * Determine if middleware has been disabled for the application. + * + * @return bool + * @static + */ + public static function shouldSkipMiddleware() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->shouldSkipMiddleware(); + } + + /** + * Get the path to the cached services.php file. + * + * @return string + * @static + */ + public static function getCachedServicesPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getCachedServicesPath(); + } + + /** + * Get the path to the cached packages.php file. + * + * @return string + * @static + */ + public static function getCachedPackagesPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getCachedPackagesPath(); + } + + /** + * Determine if the application configuration is cached. + * + * @return bool + * @static + */ + public static function configurationIsCached() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->configurationIsCached(); + } + + /** + * Get the path to the configuration cache file. + * + * @return string + * @static + */ + public static function getCachedConfigPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getCachedConfigPath(); + } + + /** + * Determine if the application routes are cached. + * + * @return bool + * @static + */ + public static function routesAreCached() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->routesAreCached(); + } + + /** + * Get the path to the routes cache file. + * + * @return string + * @static + */ + public static function getCachedRoutesPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getCachedRoutesPath(); + } + + /** + * Determine if the application events are cached. + * + * @return bool + * @static + */ + public static function eventsAreCached() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->eventsAreCached(); + } + + /** + * Get the path to the events cache file. + * + * @return string + * @static + */ + public static function getCachedEventsPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getCachedEventsPath(); + } + + /** + * Add new prefix to list of absolute path prefixes. + * + * @param string $prefix + * @return \Illuminate\Foundation\Application + * @static + */ + public static function addAbsoluteCachePathPrefix($prefix) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->addAbsoluteCachePathPrefix($prefix); + } + + /** + * Get an instance of the maintenance mode manager implementation. + * + * @return \Illuminate\Contracts\Foundation\MaintenanceMode + * @static + */ + public static function maintenanceMode() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->maintenanceMode(); + } + + /** + * Determine if the application is currently down for maintenance. + * + * @return bool + * @static + */ + public static function isDownForMaintenance() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isDownForMaintenance(); + } + + /** + * Throw an HttpException with the given data. + * + * @param int $code + * @param string $message + * @param array $headers + * @return never + * @throws \Symfony\Component\HttpKernel\Exception\HttpException + * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException + * @static + */ + public static function abort($code, $message = '', $headers = []) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->abort($code, $message, $headers); + } + + /** + * Register a terminating callback with the application. + * + * @param callable|string $callback + * @return \Illuminate\Foundation\Application + * @static + */ + public static function terminating($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->terminating($callback); + } + + /** + * Terminate the application. + * + * @return void + * @static + */ + public static function terminate() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->terminate(); + } + + /** + * Get the service providers that have been loaded. + * + * @return array + * @static + */ + public static function getLoadedProviders() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getLoadedProviders(); + } + + /** + * Determine if the given service provider is loaded. + * + * @param string $provider + * @return bool + * @static + */ + public static function providerIsLoaded($provider) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->providerIsLoaded($provider); + } + + /** + * Get the application's deferred services. + * + * @return array + * @static + */ + public static function getDeferredServices() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getDeferredServices(); + } + + /** + * Set the application's deferred services. + * + * @param array $services + * @return void + * @static + */ + public static function setDeferredServices($services) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->setDeferredServices($services); + } + + /** + * Determine if the given service is a deferred service. + * + * @param string $service + * @return bool + * @static + */ + public static function isDeferredService($service) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isDeferredService($service); + } + + /** + * Add an array of services to the application's deferred services. + * + * @param array $services + * @return void + * @static + */ + public static function addDeferredServices($services) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->addDeferredServices($services); + } + + /** + * Remove an array of services from the application's deferred services. + * + * @param array $services + * @return void + * @static + */ + public static function removeDeferredServices($services) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->removeDeferredServices($services); + } + + /** + * Configure the real-time facade namespace. + * + * @param string $namespace + * @return void + * @static + */ + public static function provideFacades($namespace) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->provideFacades($namespace); + } + + /** + * Get the current application locale. + * + * @return string + * @static + */ + public static function getLocale() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getLocale(); + } + + /** + * Get the current application locale. + * + * @return string + * @static + */ + public static function currentLocale() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->currentLocale(); + } + + /** + * Get the current application fallback locale. + * + * @return string + * @static + */ + public static function getFallbackLocale() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getFallbackLocale(); + } + + /** + * Set the current application locale. + * + * @param string $locale + * @return void + * @static + */ + public static function setLocale($locale) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->setLocale($locale); + } + + /** + * Set the current application fallback locale. + * + * @param string $fallbackLocale + * @return void + * @static + */ + public static function setFallbackLocale($fallbackLocale) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->setFallbackLocale($fallbackLocale); + } + + /** + * Determine if the application locale is the given locale. + * + * @param string $locale + * @return bool + * @static + */ + public static function isLocale($locale) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isLocale($locale); + } + + /** + * Register the core class aliases in the container. + * + * @return void + * @static + */ + public static function registerCoreContainerAliases() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->registerCoreContainerAliases(); + } + + /** + * Flush the container of all bindings and resolved instances. + * + * @return void + * @static + */ + public static function flush() + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->flush(); + } + + /** + * Get the application namespace. + * + * @return string + * @throws \RuntimeException + * @static + */ + public static function getNamespace() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getNamespace(); + } + + /** + * Define a contextual binding. + * + * @param array|string $concrete + * @return \Illuminate\Contracts\Container\ContextualBindingBuilder + * @static + */ + public static function when($concrete) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->when($concrete); + } + + /** + * Define a contextual binding based on an attribute. + * + * @param string $attribute + * @param \Closure $handler + * @return void + * @static + */ + public static function whenHasAttribute($attribute, $handler) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->whenHasAttribute($attribute, $handler); + } + + /** + * Returns true if the container can return an entry for the given identifier. + * + * Returns false otherwise. + * + * `has($id)` returning true does not mean that `get($id)` will not throw an exception. + * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`. + * + * @return bool + * @param string $id Identifier of the entry to look for. + * @return bool + * @static + */ + public static function has($id) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->has($id); + } + + /** + * Determine if the given abstract type has been resolved. + * + * @param string $abstract + * @return bool + * @static + */ + public static function resolved($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->resolved($abstract); + } + + /** + * Determine if a given type is shared. + * + * @param string $abstract + * @return bool + * @static + */ + public static function isShared($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isShared($abstract); + } + + /** + * Determine if a given string is an alias. + * + * @param string $name + * @return bool + * @static + */ + public static function isAlias($name) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->isAlias($name); + } + + /** + * Register a binding with the container. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @param bool $shared + * @return void + * @throws \TypeError + * @static + */ + public static function bind($abstract, $concrete = null, $shared = false) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->bind($abstract, $concrete, $shared); + } + + /** + * Determine if the container has a method binding. + * + * @param string $method + * @return bool + * @static + */ + public static function hasMethodBinding($method) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->hasMethodBinding($method); + } + + /** + * Bind a callback to resolve with Container::call. + * + * @param array|string $method + * @param \Closure $callback + * @return void + * @static + */ + public static function bindMethod($method, $callback) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->bindMethod($method, $callback); + } + + /** + * Get the method binding for the given method. + * + * @param string $method + * @param mixed $instance + * @return mixed + * @static + */ + public static function callMethodBinding($method, $instance) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->callMethodBinding($method, $instance); + } + + /** + * Add a contextual binding to the container. + * + * @param string $concrete + * @param string $abstract + * @param \Closure|string $implementation + * @return void + * @static + */ + public static function addContextualBinding($concrete, $abstract, $implementation) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->addContextualBinding($concrete, $abstract, $implementation); + } + + /** + * Register a binding if it hasn't already been registered. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @param bool $shared + * @return void + * @static + */ + public static function bindIf($abstract, $concrete = null, $shared = false) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->bindIf($abstract, $concrete, $shared); + } + + /** + * Register a shared binding in the container. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @return void + * @static + */ + public static function singleton($abstract, $concrete = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->singleton($abstract, $concrete); + } + + /** + * Register a shared binding if it hasn't already been registered. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @return void + * @static + */ + public static function singletonIf($abstract, $concrete = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->singletonIf($abstract, $concrete); + } + + /** + * Register a scoped binding in the container. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @return void + * @static + */ + public static function scoped($abstract, $concrete = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->scoped($abstract, $concrete); + } + + /** + * Register a scoped binding if it hasn't already been registered. + * + * @param string $abstract + * @param \Closure|string|null $concrete + * @return void + * @static + */ + public static function scopedIf($abstract, $concrete = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->scopedIf($abstract, $concrete); + } + + /** + * "Extend" an abstract type in the container. + * + * @param string $abstract + * @param \Closure $closure + * @return void + * @throws \InvalidArgumentException + * @static + */ + public static function extend($abstract, $closure) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->extend($abstract, $closure); + } + + /** + * Register an existing instance as shared in the container. + * + * @template TInstance of mixed + * @param string $abstract + * @param TInstance $instance + * @return TInstance + * @static + */ + public static function instance($abstract, $instance) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->instance($abstract, $instance); + } + + /** + * Assign a set of tags to a given binding. + * + * @param array|string $abstracts + * @param array|mixed $tags + * @return void + * @static + */ + public static function tag($abstracts, $tags) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->tag($abstracts, $tags); + } + + /** + * Resolve all of the bindings for a given tag. + * + * @param string $tag + * @return iterable + * @static + */ + public static function tagged($tag) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->tagged($tag); + } + + /** + * Alias a type to a different name. + * + * @param string $abstract + * @param string $alias + * @return void + * @throws \LogicException + * @static + */ + public static function alias($abstract, $alias) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->alias($abstract, $alias); + } + + /** + * Bind a new callback to an abstract's rebind event. + * + * @param string $abstract + * @param \Closure $callback + * @return mixed + * @static + */ + public static function rebinding($abstract, $callback) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->rebinding($abstract, $callback); + } + + /** + * Refresh an instance on the given target and method. + * + * @param string $abstract + * @param mixed $target + * @param string $method + * @return mixed + * @static + */ + public static function refresh($abstract, $target, $method) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->refresh($abstract, $target, $method); + } + + /** + * Wrap the given closure such that its dependencies will be injected when executed. + * + * @param \Closure $callback + * @param array $parameters + * @return \Closure + * @static + */ + public static function wrap($callback, $parameters = []) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->wrap($callback, $parameters); + } + + /** + * Call the given Closure / class@method and inject its dependencies. + * + * @param callable|string $callback + * @param array $parameters + * @param string|null $defaultMethod + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function call($callback, $parameters = [], $defaultMethod = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->call($callback, $parameters, $defaultMethod); + } + + /** + * Get a closure to resolve the given type from the container. + * + * @template TClass of object + * @param string|class-string $abstract + * @return ($abstract is class-string ? \Closure(): TClass : \Closure(): mixed) + * @static + */ + public static function factory($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->factory($abstract); + } + + /** + * An alias function name for make(). + * + * @template TClass of object + * @param string|class-string|callable $abstract + * @param array $parameters + * @return ($abstract is class-string ? TClass : mixed) + * @throws \Illuminate\Contracts\Container\BindingResolutionException + * @static + */ + public static function makeWith($abstract, $parameters = []) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->makeWith($abstract, $parameters); + } + + /** + * {@inheritdoc} + * + * @template TClass of object + * @param string|class-string $id + * @return ($id is class-string ? TClass : mixed) + * @static + */ + public static function get($id) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->get($id); + } + + /** + * Instantiate a concrete instance of the given type. + * + * @template TClass of object + * @param \Closure(static, array): TClass|class-string $concrete + * @return TClass + * @throws \Illuminate\Contracts\Container\BindingResolutionException + * @throws \Illuminate\Contracts\Container\CircularDependencyException + * @static + */ + public static function build($concrete) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->build($concrete); + } + + /** + * Resolve a dependency based on an attribute. + * + * @param \ReflectionAttribute $attribute + * @return mixed + * @static + */ + public static function resolveFromAttribute($attribute) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->resolveFromAttribute($attribute); + } + + /** + * Register a new before resolving callback for all types. + * + * @param \Closure|string $abstract + * @param \Closure|null $callback + * @return void + * @static + */ + public static function beforeResolving($abstract, $callback = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->beforeResolving($abstract, $callback); + } + + /** + * Register a new resolving callback. + * + * @param \Closure|string $abstract + * @param \Closure|null $callback + * @return void + * @static + */ + public static function resolving($abstract, $callback = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->resolving($abstract, $callback); + } + + /** + * Register a new after resolving callback for all types. + * + * @param \Closure|string $abstract + * @param \Closure|null $callback + * @return void + * @static + */ + public static function afterResolving($abstract, $callback = null) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->afterResolving($abstract, $callback); + } + + /** + * Register a new after resolving attribute callback for all types. + * + * @param string $attribute + * @param \Closure $callback + * @return void + * @static + */ + public static function afterResolvingAttribute($attribute, $callback) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->afterResolvingAttribute($attribute, $callback); + } + + /** + * Fire all of the after resolving attribute callbacks. + * + * @param \ReflectionAttribute[] $attributes + * @param mixed $object + * @return void + * @static + */ + public static function fireAfterResolvingAttributeCallbacks($attributes, $object) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->fireAfterResolvingAttributeCallbacks($attributes, $object); + } + + /** + * Get the container's bindings. + * + * @return array + * @static + */ + public static function getBindings() + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getBindings(); + } + + /** + * Get the alias for an abstract if available. + * + * @param string $abstract + * @return string + * @static + */ + public static function getAlias($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getAlias($abstract); + } + + /** + * Remove all of the extender callbacks for a given type. + * + * @param string $abstract + * @return void + * @static + */ + public static function forgetExtenders($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->forgetExtenders($abstract); + } + + /** + * Remove a resolved instance from the instance cache. + * + * @param string $abstract + * @return void + * @static + */ + public static function forgetInstance($abstract) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->forgetInstance($abstract); + } + + /** + * Clear all of the instances from the container. + * + * @return void + * @static + */ + public static function forgetInstances() + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->forgetInstances(); + } + + /** + * Clear all of the scoped instances from the container. + * + * @return void + * @static + */ + public static function forgetScopedInstances() + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->forgetScopedInstances(); + } + + /** + * Get the globally available instance of the container. + * + * @return static + * @static + */ + public static function getInstance() + { + //Method inherited from \Illuminate\Container\Container + return \Illuminate\Foundation\Application::getInstance(); + } + + /** + * Set the shared instance of the container. + * + * @param \Illuminate\Contracts\Container\Container|null $container + * @return \Illuminate\Contracts\Container\Container|static + * @static + */ + public static function setInstance($container = null) + { + //Method inherited from \Illuminate\Container\Container + return \Illuminate\Foundation\Application::setInstance($container); + } + + /** + * Determine if a given offset exists. + * + * @param string $key + * @return bool + * @static + */ + public static function offsetExists($key) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->offsetExists($key); + } + + /** + * Get the value at a given offset. + * + * @param string $key + * @return mixed + * @static + */ + public static function offsetGet($key) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->offsetGet($key); + } + + /** + * Set the value at a given offset. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function offsetSet($key, $value) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->offsetSet($key, $value); + } + + /** + * Unset the value at a given offset. + * + * @param string $key + * @return void + * @static + */ + public static function offsetUnset($key) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->offsetUnset($key); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Foundation\Application::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Foundation\Application::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Foundation\Application::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Foundation\Application::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Foundation\Console\Kernel + */ + class Artisan { + /** + * Re-route the Symfony command events to their Laravel counterparts. + * + * @internal + * @return \Illuminate\Foundation\Console\Kernel + * @static + */ + public static function rerouteSymfonyCommandEvents() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->rerouteSymfonyCommandEvents(); + } + + /** + * Run the console application. + * + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param \Symfony\Component\Console\Output\OutputInterface|null $output + * @return int + * @static + */ + public static function handle($input, $output = null) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->handle($input, $output); + } + + /** + * Terminate the application. + * + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param int $status + * @return void + * @static + */ + public static function terminate($input, $status) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->terminate($input, $status); + } + + /** + * Register a callback to be invoked when the command lifecycle duration exceeds a given amount of time. + * + * @param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold + * @param callable $handler + * @return void + * @static + */ + public static function whenCommandLifecycleIsLongerThan($threshold, $handler) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->whenCommandLifecycleIsLongerThan($threshold, $handler); + } + + /** + * When the command being handled started. + * + * @return \Illuminate\Support\Carbon|null + * @static + */ + public static function commandStartedAt() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->commandStartedAt(); + } + + /** + * Resolve a console schedule instance. + * + * @return \Illuminate\Console\Scheduling\Schedule + * @static + */ + public static function resolveConsoleSchedule() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->resolveConsoleSchedule(); + } + + /** + * Register a Closure based command with the application. + * + * @param string $signature + * @param \Closure $callback + * @return \Illuminate\Foundation\Console\ClosureCommand + * @static + */ + public static function command($signature, $callback) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->command($signature, $callback); + } + + /** + * Register the given command with the console application. + * + * @param \Symfony\Component\Console\Command\Command $command + * @return void + * @static + */ + public static function registerCommand($command) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->registerCommand($command); + } + + /** + * Run an Artisan console command by name. + * + * @param string $command + * @param array $parameters + * @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer + * @return int + * @throws \Symfony\Component\Console\Exception\CommandNotFoundException + * @static + */ + public static function call($command, $parameters = [], $outputBuffer = null) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->call($command, $parameters, $outputBuffer); + } + + /** + * Queue the given console command. + * + * @param string $command + * @param array $parameters + * @return \Illuminate\Foundation\Bus\PendingDispatch + * @static + */ + public static function queue($command, $parameters = []) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->queue($command, $parameters); + } + + /** + * Get all of the commands registered with the console. + * + * @return array + * @static + */ + public static function all() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->all(); + } + + /** + * Get the output for the last run command. + * + * @return string + * @static + */ + public static function output() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->output(); + } + + /** + * Bootstrap the application for artisan commands. + * + * @return void + * @static + */ + public static function bootstrap() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->bootstrap(); + } + + /** + * Bootstrap the application without booting service providers. + * + * @return void + * @static + */ + public static function bootstrapWithoutBootingProviders() + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->bootstrapWithoutBootingProviders(); + } + + /** + * Set the Artisan application instance. + * + * @param \Illuminate\Console\Application|null $artisan + * @return void + * @static + */ + public static function setArtisan($artisan) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + $instance->setArtisan($artisan); + } + + /** + * Set the Artisan commands provided by the application. + * + * @param array $commands + * @return \Illuminate\Foundation\Console\Kernel + * @static + */ + public static function addCommands($commands) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->addCommands($commands); + } + + /** + * Set the paths that should have their Artisan commands automatically discovered. + * + * @param array $paths + * @return \Illuminate\Foundation\Console\Kernel + * @static + */ + public static function addCommandPaths($paths) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->addCommandPaths($paths); + } + + /** + * Set the paths that should have their Artisan "routes" automatically discovered. + * + * @param array $paths + * @return \Illuminate\Foundation\Console\Kernel + * @static + */ + public static function addCommandRoutePaths($paths) + { + /** @var \Illuminate\Foundation\Console\Kernel $instance */ + return $instance->addCommandRoutePaths($paths); + } + + } + /** + * + * + * @see \Illuminate\Auth\AuthManager + * @see \Illuminate\Auth\SessionGuard + */ + class Auth { + /** + * Attempt to get the guard from the local cache. + * + * @param string|null $name + * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard + * @static + */ + public static function guard($name = null) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->guard($name); + } + + /** + * Create a session based authentication guard. + * + * @param string $name + * @param array $config + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function createSessionDriver($name, $config) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->createSessionDriver($name, $config); + } + + /** + * Create a token based authentication guard. + * + * @param string $name + * @param array $config + * @return \Illuminate\Auth\TokenGuard + * @static + */ + public static function createTokenDriver($name, $config) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->createTokenDriver($name, $config); + } + + /** + * Get the default authentication driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default guard driver the factory should serve. + * + * @param string $name + * @return void + * @static + */ + public static function shouldUse($name) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + $instance->shouldUse($name); + } + + /** + * Set the default authentication driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Register a new callback based request guard. + * + * @param string $driver + * @param callable $callback + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function viaRequest($driver, $callback) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->viaRequest($driver, $callback); + } + + /** + * Get the user resolver callback. + * + * @return \Closure + * @static + */ + public static function userResolver() + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->userResolver(); + } + + /** + * Set the callback to be used to resolve users. + * + * @param \Closure $userResolver + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function resolveUsersUsing($userResolver) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->resolveUsersUsing($userResolver); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Register a custom provider creator Closure. + * + * @param string $name + * @param \Closure $callback + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function provider($name, $callback) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->provider($name, $callback); + } + + /** + * Determines if any guards have already been resolved. + * + * @return bool + * @static + */ + public static function hasResolvedGuards() + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->hasResolvedGuards(); + } + + /** + * Forget all of the resolved guard instances. + * + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function forgetGuards() + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->forgetGuards(); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Auth\AuthManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->setApplication($app); + } + + /** + * Create the user provider implementation for the driver. + * + * @param string|null $provider + * @return \Illuminate\Contracts\Auth\UserProvider|null + * @throws \InvalidArgumentException + * @static + */ + public static function createUserProvider($provider = null) + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->createUserProvider($provider); + } + + /** + * Get the default user provider name. + * + * @return string + * @static + */ + public static function getDefaultUserProvider() + { + /** @var \Illuminate\Auth\AuthManager $instance */ + return $instance->getDefaultUserProvider(); + } + + /** + * Get the currently authenticated user. + * + * @return \App\Models\Account|null + * @static + */ + public static function user() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->user(); + } + + /** + * Get the ID for the currently authenticated user. + * + * @return int|string|null + * @static + */ + public static function id() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->id(); + } + + /** + * Log a user into the application without sessions or cookies. + * + * @param array $credentials + * @return bool + * @static + */ + public static function once($credentials = []) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->once($credentials); + } + + /** + * Log the given user ID into the application without sessions or cookies. + * + * @param mixed $id + * @return \App\Models\Account|false + * @static + */ + public static function onceUsingId($id) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->onceUsingId($id); + } + + /** + * Validate a user's credentials. + * + * @param array $credentials + * @return bool + * @static + */ + public static function validate($credentials = []) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->validate($credentials); + } + + /** + * Attempt to authenticate using HTTP Basic Auth. + * + * @param string $field + * @param array $extraConditions + * @return \Symfony\Component\HttpFoundation\Response|null + * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException + * @static + */ + public static function basic($field = 'email', $extraConditions = []) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->basic($field, $extraConditions); + } + + /** + * Perform a stateless HTTP Basic login attempt. + * + * @param string $field + * @param array $extraConditions + * @return \Symfony\Component\HttpFoundation\Response|null + * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException + * @static + */ + public static function onceBasic($field = 'email', $extraConditions = []) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->onceBasic($field, $extraConditions); + } + + /** + * Attempt to authenticate a user using the given credentials. + * + * @param array $credentials + * @param bool $remember + * @return bool + * @static + */ + public static function attempt($credentials = [], $remember = false) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->attempt($credentials, $remember); + } + + /** + * Attempt to authenticate a user with credentials and additional callbacks. + * + * @param array $credentials + * @param array|callable|null $callbacks + * @param bool $remember + * @return bool + * @static + */ + public static function attemptWhen($credentials = [], $callbacks = null, $remember = false) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->attemptWhen($credentials, $callbacks, $remember); + } + + /** + * Log the given user ID into the application. + * + * @param mixed $id + * @param bool $remember + * @return \App\Models\Account|false + * @static + */ + public static function loginUsingId($id, $remember = false) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->loginUsingId($id, $remember); + } + + /** + * Log a user into the application. + * + * @param \Illuminate\Contracts\Auth\Authenticatable $user + * @param bool $remember + * @return void + * @static + */ + public static function login($user, $remember = false) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->login($user, $remember); + } + + /** + * Log the user out of the application. + * + * @return void + * @static + */ + public static function logout() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->logout(); + } + + /** + * Log the user out of the application on their current device only. + * + * This method does not cycle the "remember" token. + * + * @return void + * @static + */ + public static function logoutCurrentDevice() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->logoutCurrentDevice(); + } + + /** + * Invalidate other sessions for the current user. + * + * The application must be using the AuthenticateSession middleware. + * + * @param string $password + * @return \App\Models\Account|null + * @throws \Illuminate\Auth\AuthenticationException + * @static + */ + public static function logoutOtherDevices($password) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->logoutOtherDevices($password); + } + + /** + * Register an authentication attempt event listener. + * + * @param mixed $callback + * @return void + * @static + */ + public static function attempting($callback) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->attempting($callback); + } + + /** + * Get the last user we attempted to authenticate. + * + * @return \App\Models\Account + * @static + */ + public static function getLastAttempted() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getLastAttempted(); + } + + /** + * Get a unique identifier for the auth session value. + * + * @return string + * @static + */ + public static function getName() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getName(); + } + + /** + * Get the name of the cookie used to store the "recaller". + * + * @return string + * @static + */ + public static function getRecallerName() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getRecallerName(); + } + + /** + * Determine if the user was authenticated via "remember me" cookie. + * + * @return bool + * @static + */ + public static function viaRemember() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->viaRemember(); + } + + /** + * Set the number of minutes the remember me cookie should be valid for. + * + * @param int $minutes + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function setRememberDuration($minutes) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->setRememberDuration($minutes); + } + + /** + * Get the cookie creator instance used by the guard. + * + * @return \Illuminate\Contracts\Cookie\QueueingFactory + * @throws \RuntimeException + * @static + */ + public static function getCookieJar() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getCookieJar(); + } + + /** + * Set the cookie creator instance used by the guard. + * + * @param \Illuminate\Contracts\Cookie\QueueingFactory $cookie + * @return void + * @static + */ + public static function setCookieJar($cookie) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->setCookieJar($cookie); + } + + /** + * Get the event dispatcher instance. + * + * @return \Illuminate\Contracts\Events\Dispatcher + * @static + */ + public static function getDispatcher() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getDispatcher(); + } + + /** + * Set the event dispatcher instance. + * + * @param \Illuminate\Contracts\Events\Dispatcher $events + * @return void + * @static + */ + public static function setDispatcher($events) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->setDispatcher($events); + } + + /** + * Get the session store used by the guard. + * + * @return \Illuminate\Contracts\Session\Session + * @static + */ + public static function getSession() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getSession(); + } + + /** + * Return the currently cached user. + * + * @return \App\Models\Account|null + * @static + */ + public static function getUser() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getUser(); + } + + /** + * Set the current user. + * + * @param \Illuminate\Contracts\Auth\Authenticatable $user + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function setUser($user) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->setUser($user); + } + + /** + * Get the current request instance. + * + * @return \Symfony\Component\HttpFoundation\Request + * @static + */ + public static function getRequest() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getRequest(); + } + + /** + * Set the current request instance. + * + * @param \Symfony\Component\HttpFoundation\Request $request + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function setRequest($request) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->setRequest($request); + } + + /** + * Get the timebox instance used by the guard. + * + * @return \Illuminate\Support\Timebox + * @static + */ + public static function getTimebox() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getTimebox(); + } + + /** + * Determine if the current user is authenticated. If not, throw an exception. + * + * @return \App\Models\Account + * @throws \Illuminate\Auth\AuthenticationException + * @static + */ + public static function authenticate() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->authenticate(); + } + + /** + * Determine if the guard has a user instance. + * + * @return bool + * @static + */ + public static function hasUser() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->hasUser(); + } + + /** + * Determine if the current user is authenticated. + * + * @return bool + * @static + */ + public static function check() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->check(); + } + + /** + * Determine if the current user is a guest. + * + * @return bool + * @static + */ + public static function guest() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->guest(); + } + + /** + * Forget the current user. + * + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function forgetUser() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->forgetUser(); + } + + /** + * Get the user provider used by the guard. + * + * @return \Illuminate\Contracts\Auth\UserProvider + * @static + */ + public static function getProvider() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->getProvider(); + } + + /** + * Set the user provider used by the guard. + * + * @param \Illuminate\Contracts\Auth\UserProvider $provider + * @return void + * @static + */ + public static function setProvider($provider) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + $instance->setProvider($provider); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Auth\SessionGuard::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Auth\SessionGuard::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Auth\SessionGuard::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Auth\SessionGuard::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\View\Compilers\BladeCompiler + */ + class Blade { + /** + * Compile the view at the given path. + * + * @param string|null $path + * @return void + * @static + */ + public static function compile($path = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->compile($path); + } + + /** + * Get the path currently being compiled. + * + * @return string + * @static + */ + public static function getPath() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getPath(); + } + + /** + * Set the path currently being compiled. + * + * @param string $path + * @return void + * @static + */ + public static function setPath($path) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->setPath($path); + } + + /** + * Compile the given Blade template contents. + * + * @param string $value + * @return string + * @static + */ + public static function compileString($value) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->compileString($value); + } + + /** + * Evaluate and render a Blade string to HTML. + * + * @param string $string + * @param array $data + * @param bool $deleteCachedView + * @return string + * @static + */ + public static function render($string, $data = [], $deleteCachedView = false) + { + return \Illuminate\View\Compilers\BladeCompiler::render($string, $data, $deleteCachedView); + } + + /** + * Render a component instance to HTML. + * + * @param \Illuminate\View\Component $component + * @return string + * @static + */ + public static function renderComponent($component) + { + return \Illuminate\View\Compilers\BladeCompiler::renderComponent($component); + } + + /** + * Strip the parentheses from the given expression. + * + * @param string $expression + * @return string + * @static + */ + public static function stripParentheses($expression) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->stripParentheses($expression); + } + + /** + * Register a custom Blade compiler. + * + * @param callable $compiler + * @return void + * @static + */ + public static function extend($compiler) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->extend($compiler); + } + + /** + * Get the extensions used by the compiler. + * + * @return array + * @static + */ + public static function getExtensions() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getExtensions(); + } + + /** + * Register an "if" statement directive. + * + * @param string $name + * @param callable $callback + * @return void + * @static + */ + public static function if($name, $callback) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->if($name, $callback); + } + + /** + * Check the result of a condition. + * + * @param string $name + * @param mixed $parameters + * @return bool + * @static + */ + public static function check($name, ...$parameters) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->check($name, ...$parameters); + } + + /** + * Register a class-based component alias directive. + * + * @param string $class + * @param string|null $alias + * @param string $prefix + * @return void + * @static + */ + public static function component($class, $alias = null, $prefix = '') + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->component($class, $alias, $prefix); + } + + /** + * Register an array of class-based components. + * + * @param array $components + * @param string $prefix + * @return void + * @static + */ + public static function components($components, $prefix = '') + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->components($components, $prefix); + } + + /** + * Get the registered class component aliases. + * + * @return array + * @static + */ + public static function getClassComponentAliases() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getClassComponentAliases(); + } + + /** + * Register a new anonymous component path. + * + * @param string $path + * @param string|null $prefix + * @return void + * @static + */ + public static function anonymousComponentPath($path, $prefix = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->anonymousComponentPath($path, $prefix); + } + + /** + * Register an anonymous component namespace. + * + * @param string $directory + * @param string|null $prefix + * @return void + * @static + */ + public static function anonymousComponentNamespace($directory, $prefix = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->anonymousComponentNamespace($directory, $prefix); + } + + /** + * Register a class-based component namespace. + * + * @param string $namespace + * @param string $prefix + * @return void + * @static + */ + public static function componentNamespace($namespace, $prefix) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->componentNamespace($namespace, $prefix); + } + + /** + * Get the registered anonymous component paths. + * + * @return array + * @static + */ + public static function getAnonymousComponentPaths() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getAnonymousComponentPaths(); + } + + /** + * Get the registered anonymous component namespaces. + * + * @return array + * @static + */ + public static function getAnonymousComponentNamespaces() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getAnonymousComponentNamespaces(); + } + + /** + * Get the registered class component namespaces. + * + * @return array + * @static + */ + public static function getClassComponentNamespaces() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getClassComponentNamespaces(); + } + + /** + * Register a component alias directive. + * + * @param string $path + * @param string|null $alias + * @return void + * @static + */ + public static function aliasComponent($path, $alias = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->aliasComponent($path, $alias); + } + + /** + * Register an include alias directive. + * + * @param string $path + * @param string|null $alias + * @return void + * @static + */ + public static function include($path, $alias = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->include($path, $alias); + } + + /** + * Register an include alias directive. + * + * @param string $path + * @param string|null $alias + * @return void + * @static + */ + public static function aliasInclude($path, $alias = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->aliasInclude($path, $alias); + } + + /** + * Register a handler for custom directives, binding the handler to the compiler. + * + * @param string $name + * @param callable $handler + * @return void + * @throws \InvalidArgumentException + * @static + */ + public static function bindDirective($name, $handler) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->bindDirective($name, $handler); + } + + /** + * Register a handler for custom directives. + * + * @param string $name + * @param callable $handler + * @param bool $bind + * @return void + * @throws \InvalidArgumentException + * @static + */ + public static function directive($name, $handler, $bind = false) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->directive($name, $handler, $bind); + } + + /** + * Get the list of custom directives. + * + * @return array + * @static + */ + public static function getCustomDirectives() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getCustomDirectives(); + } + + /** + * Indicate that the following callable should be used to prepare strings for compilation. + * + * @param callable $callback + * @return \Illuminate\View\Compilers\BladeCompiler + * @static + */ + public static function prepareStringsForCompilationUsing($callback) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->prepareStringsForCompilationUsing($callback); + } + + /** + * Register a new precompiler. + * + * @param callable $precompiler + * @return void + * @static + */ + public static function precompiler($precompiler) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->precompiler($precompiler); + } + + /** + * Execute the given callback using a custom echo format. + * + * @param string $format + * @param callable $callback + * @return string + * @static + */ + public static function usingEchoFormat($format, $callback) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->usingEchoFormat($format, $callback); + } + + /** + * Set the echo format to be used by the compiler. + * + * @param string $format + * @return void + * @static + */ + public static function setEchoFormat($format) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->setEchoFormat($format); + } + + /** + * Set the "echo" format to double encode entities. + * + * @return void + * @static + */ + public static function withDoubleEncoding() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->withDoubleEncoding(); + } + + /** + * Set the "echo" format to not double encode entities. + * + * @return void + * @static + */ + public static function withoutDoubleEncoding() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->withoutDoubleEncoding(); + } + + /** + * Indicate that component tags should not be compiled. + * + * @return void + * @static + */ + public static function withoutComponentTags() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->withoutComponentTags(); + } + + /** + * Get the path to the compiled version of a view. + * + * @param string $path + * @return string + * @static + */ + public static function getCompiledPath($path) + { + //Method inherited from \Illuminate\View\Compilers\Compiler + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->getCompiledPath($path); + } + + /** + * Determine if the view at the given path is expired. + * + * @param string $path + * @return bool + * @throws \ErrorException + * @static + */ + public static function isExpired($path) + { + //Method inherited from \Illuminate\View\Compilers\Compiler + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->isExpired($path); + } + + /** + * Get a new component hash for a component name. + * + * @param string $component + * @return string + * @static + */ + public static function newComponentHash($component) + { + return \Illuminate\View\Compilers\BladeCompiler::newComponentHash($component); + } + + /** + * Compile a class component opening. + * + * @param string $component + * @param string $alias + * @param string $data + * @param string $hash + * @return string + * @static + */ + public static function compileClassComponentOpening($component, $alias, $data, $hash) + { + return \Illuminate\View\Compilers\BladeCompiler::compileClassComponentOpening($component, $alias, $data, $hash); + } + + /** + * Compile the end-component statements into valid PHP. + * + * @return string + * @static + */ + public static function compileEndComponentClass() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->compileEndComponentClass(); + } + + /** + * Sanitize the given component attribute value. + * + * @param mixed $value + * @return mixed + * @static + */ + public static function sanitizeComponentAttribute($value) + { + return \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($value); + } + + /** + * Compile an end-once block into valid PHP. + * + * @return string + * @static + */ + public static function compileEndOnce() + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->compileEndOnce(); + } + + /** + * Add a handler to be executed before echoing a given class. + * + * @param string|callable $class + * @param callable|null $handler + * @return void + * @static + */ + public static function stringable($class, $handler = null) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + $instance->stringable($class, $handler); + } + + /** + * Compile Blade echos into valid PHP. + * + * @param string $value + * @return string + * @static + */ + public static function compileEchos($value) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->compileEchos($value); + } + + /** + * Apply the echo handler for the value if it exists. + * + * @param string $value + * @return string + * @static + */ + public static function applyEchoHandler($value) + { + /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ + return $instance->applyEchoHandler($value); + } + + } + /** + * + * + * @method static mixed auth(\Illuminate\Http\Request $request) + * @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result) + * @method static void broadcast(array $channels, string $event, array $payload = []) + * @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request) + * @method static void resolveAuthenticatedUserUsing(\Closure $callback) + * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = []) + * @method static \Illuminate\Support\Collection getChannels() + * @see \Illuminate\Broadcasting\BroadcastManager + * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster + */ + class Broadcast { + /** + * Register the routes for handling broadcast channel authentication and sockets. + * + * @param array|null $attributes + * @return void + * @static + */ + public static function routes($attributes = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->routes($attributes); + } + + /** + * Register the routes for handling broadcast user authentication. + * + * @param array|null $attributes + * @return void + * @static + */ + public static function userRoutes($attributes = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->userRoutes($attributes); + } + + /** + * Register the routes for handling broadcast authentication and sockets. + * + * Alias of "routes" method. + * + * @param array|null $attributes + * @return void + * @static + */ + public static function channelRoutes($attributes = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->channelRoutes($attributes); + } + + /** + * Get the socket ID for the given request. + * + * @param \Illuminate\Http\Request|null $request + * @return string|null + * @static + */ + public static function socket($request = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->socket($request); + } + + /** + * Begin sending an anonymous broadcast to the given channels. + * + * @static + */ + public static function on($channels) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->on($channels); + } + + /** + * Begin sending an anonymous broadcast to the given private channels. + * + * @static + */ + public static function private($channel) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->private($channel); + } + + /** + * Begin sending an anonymous broadcast to the given presence channels. + * + * @static + */ + public static function presence($channel) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->presence($channel); + } + + /** + * Begin broadcasting an event. + * + * @param mixed|null $event + * @return \Illuminate\Broadcasting\PendingBroadcast + * @static + */ + public static function event($event = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->event($event); + } + + /** + * Queue the given event for broadcast. + * + * @param mixed $event + * @return void + * @static + */ + public static function queue($event) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->queue($event); + } + + /** + * Get a driver instance. + * + * @param string|null $driver + * @return mixed + * @static + */ + public static function connection($driver = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->connection($driver); + } + + /** + * Get a driver instance. + * + * @param string|null $name + * @return mixed + * @static + */ + public static function driver($name = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->driver($name); + } + + /** + * Get a Pusher instance for the given configuration. + * + * @param array $config + * @return \Pusher\Pusher + * @static + */ + public static function pusher($config) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->pusher($config); + } + + /** + * Get an Ably instance for the given configuration. + * + * @param array $config + * @return \Ably\AblyRest + * @static + */ + public static function ably($config) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->ably($config); + } + + /** + * Get the default driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Disconnect the given disk and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + $instance->purge($name); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Broadcasting\BroadcastManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Get the application instance used by the manager. + * + * @return \Illuminate\Contracts\Foundation\Application + * @static + */ + public static function getApplication() + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->getApplication(); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Broadcasting\BroadcastManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->setApplication($app); + } + + /** + * Forget all of the resolved driver instances. + * + * @return \Illuminate\Broadcasting\BroadcastManager + * @static + */ + public static function forgetDrivers() + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->forgetDrivers(); + } + + } + /** + * + * + * @see \Illuminate\Bus\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\BusFake + */ + class Bus { + /** + * Dispatch a command to its appropriate handler. + * + * @param mixed $command + * @return mixed + * @static + */ + public static function dispatch($command) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->dispatch($command); + } + + /** + * Dispatch a command to its appropriate handler in the current process. + * + * Queueable jobs will be dispatched to the "sync" queue. + * + * @param mixed $command + * @param mixed $handler + * @return mixed + * @static + */ + public static function dispatchSync($command, $handler = null) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->dispatchSync($command, $handler); + } + + /** + * Dispatch a command to its appropriate handler in the current process without using the synchronous queue. + * + * @param mixed $command + * @param mixed $handler + * @return mixed + * @static + */ + public static function dispatchNow($command, $handler = null) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->dispatchNow($command, $handler); + } + + /** + * Attempt to find the batch with the given ID. + * + * @param string $batchId + * @return \Illuminate\Bus\Batch|null + * @static + */ + public static function findBatch($batchId) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->findBatch($batchId); + } + + /** + * Create a new batch of queueable jobs. + * + * @param \Illuminate\Support\Collection|array|mixed $jobs + * @return \Illuminate\Bus\PendingBatch + * @static + */ + public static function batch($jobs) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->batch($jobs); + } + + /** + * Create a new chain of queueable jobs. + * + * @param \Illuminate\Support\Collection|array $jobs + * @return \Illuminate\Foundation\Bus\PendingChain + * @static + */ + public static function chain($jobs) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->chain($jobs); + } + + /** + * Determine if the given command has a handler. + * + * @param mixed $command + * @return bool + * @static + */ + public static function hasCommandHandler($command) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->hasCommandHandler($command); + } + + /** + * Retrieve the handler for a command. + * + * @param mixed $command + * @return bool|mixed + * @static + */ + public static function getCommandHandler($command) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->getCommandHandler($command); + } + + /** + * Dispatch a command to its appropriate handler behind a queue. + * + * @param mixed $command + * @return mixed + * @throws \RuntimeException + * @static + */ + public static function dispatchToQueue($command) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->dispatchToQueue($command); + } + + /** + * Dispatch a command to its appropriate handler after the current process. + * + * @param mixed $command + * @param mixed $handler + * @return void + * @static + */ + public static function dispatchAfterResponse($command, $handler = null) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + $instance->dispatchAfterResponse($command, $handler); + } + + /** + * Set the pipes through which commands should be piped before dispatching. + * + * @param array $pipes + * @return \Illuminate\Bus\Dispatcher + * @static + */ + public static function pipeThrough($pipes) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->pipeThrough($pipes); + } + + /** + * Map a command to a handler. + * + * @param array $map + * @return \Illuminate\Bus\Dispatcher + * @static + */ + public static function map($map) + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->map($map); + } + + /** + * Specify the jobs that should be dispatched instead of faked. + * + * @param array|string $jobsToDispatch + * @return \Illuminate\Support\Testing\Fakes\BusFake + * @static + */ + public static function except($jobsToDispatch) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->except($jobsToDispatch); + } + + /** + * Assert if a job was dispatched based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertDispatched($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatched($command, $callback); + } + + /** + * Assert if a job was pushed a number of times. + * + * @param string|\Closure $command + * @param int $times + * @return void + * @static + */ + public static function assertDispatchedTimes($command, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedTimes($command, $times); + } + + /** + * Determine if a job was dispatched based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotDispatched($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNotDispatched($command, $callback); + } + + /** + * Assert that no jobs were dispatched. + * + * @return void + * @static + */ + public static function assertNothingDispatched() + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNothingDispatched(); + } + + /** + * Assert if a job was explicitly dispatched synchronously based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertDispatchedSync($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedSync($command, $callback); + } + + /** + * Assert if a job was pushed synchronously a number of times. + * + * @param string|\Closure $command + * @param int $times + * @return void + * @static + */ + public static function assertDispatchedSyncTimes($command, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedSyncTimes($command, $times); + } + + /** + * Determine if a job was dispatched based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotDispatchedSync($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNotDispatchedSync($command, $callback); + } + + /** + * Assert if a job was dispatched after the response was sent based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertDispatchedAfterResponse($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedAfterResponse($command, $callback); + } + + /** + * Assert if a job was pushed after the response was sent a number of times. + * + * @param string|\Closure $command + * @param int $times + * @return void + * @static + */ + public static function assertDispatchedAfterResponseTimes($command, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedAfterResponseTimes($command, $times); + } + + /** + * Determine if a job was dispatched based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotDispatchedAfterResponse($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNotDispatchedAfterResponse($command, $callback); + } + + /** + * Assert if a chain of jobs was dispatched. + * + * @param array $expectedChain + * @return void + * @static + */ + public static function assertChained($expectedChain) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertChained($expectedChain); + } + + /** + * Assert no chained jobs was dispatched. + * + * @return void + * @static + */ + public static function assertNothingChained() + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNothingChained(); + } + + /** + * Assert if a job was dispatched with an empty chain based on a truth-test callback. + * + * @param string|\Closure $command + * @param callable|null $callback + * @return void + * @static + */ + public static function assertDispatchedWithoutChain($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedWithoutChain($command, $callback); + } + + /** + * Create a new assertion about a chained batch. + * + * @param \Closure $callback + * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest + * @static + */ + public static function chainedBatch($callback) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->chainedBatch($callback); + } + + /** + * Assert if a batch was dispatched based on a truth-test callback. + * + * @param callable $callback + * @return void + * @static + */ + public static function assertBatched($callback) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertBatched($callback); + } + + /** + * Assert the number of batches that have been dispatched. + * + * @param int $count + * @return void + * @static + */ + public static function assertBatchCount($count) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertBatchCount($count); + } + + /** + * Assert that no batched jobs were dispatched. + * + * @return void + * @static + */ + public static function assertNothingBatched() + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNothingBatched(); + } + + /** + * Assert that no jobs were dispatched, chained, or batched. + * + * @return void + * @static + */ + public static function assertNothingPlaced() + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertNothingPlaced(); + } + + /** + * Get all of the jobs matching a truth-test callback. + * + * @param string $command + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function dispatched($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->dispatched($command, $callback); + } + + /** + * Get all of the jobs dispatched synchronously matching a truth-test callback. + * + * @param string $command + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function dispatchedSync($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->dispatchedSync($command, $callback); + } + + /** + * Get all of the jobs dispatched after the response was sent matching a truth-test callback. + * + * @param string $command + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function dispatchedAfterResponse($command, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->dispatchedAfterResponse($command, $callback); + } + + /** + * Get all of the pending batches matching a truth-test callback. + * + * @param callable $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function batched($callback) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->batched($callback); + } + + /** + * Determine if there are any stored commands for a given class. + * + * @param string $command + * @return bool + * @static + */ + public static function hasDispatched($command) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->hasDispatched($command); + } + + /** + * Determine if there are any stored commands for a given class. + * + * @param string $command + * @return bool + * @static + */ + public static function hasDispatchedSync($command) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->hasDispatchedSync($command); + } + + /** + * Determine if there are any stored commands for a given class. + * + * @param string $command + * @return bool + * @static + */ + public static function hasDispatchedAfterResponse($command) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->hasDispatchedAfterResponse($command); + } + + /** + * Dispatch an empty job batch for testing. + * + * @param string $name + * @return \Illuminate\Bus\Batch + * @static + */ + public static function dispatchFakeBatch($name = '') + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->dispatchFakeBatch($name); + } + + /** + * Record the fake pending batch dispatch. + * + * @param \Illuminate\Bus\PendingBatch $pendingBatch + * @return \Illuminate\Bus\Batch + * @static + */ + public static function recordPendingBatch($pendingBatch) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->recordPendingBatch($pendingBatch); + } + + /** + * Specify if commands should be serialized and restored when being batched. + * + * @param bool $serializeAndRestore + * @return \Illuminate\Support\Testing\Fakes\BusFake + * @static + */ + public static function serializeAndRestore($serializeAndRestore = true) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->serializeAndRestore($serializeAndRestore); + } + + /** + * Get the batches that have been dispatched. + * + * @return array + * @static + */ + public static function dispatchedBatches() + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->dispatchedBatches(); + } + + } + /** + * + * + * @see \Illuminate\Cache\CacheManager + * @see \Illuminate\Cache\Repository + */ + class Cache { + /** + * Get a cache store instance by name, wrapped in a repository. + * + * @param string|null $name + * @return \Illuminate\Contracts\Cache\Repository + * @static + */ + public static function store($name = null) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->store($name); + } + + /** + * Get a cache driver instance. + * + * @param string|null $driver + * @return \Illuminate\Contracts\Cache\Repository + * @static + */ + public static function driver($driver = null) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->driver($driver); + } + + /** + * Resolve the given store. + * + * @param string $name + * @return \Illuminate\Contracts\Cache\Repository + * @throws \InvalidArgumentException + * @static + */ + public static function resolve($name) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->resolve($name); + } + + /** + * Build a cache repository with the given configuration. + * + * @param array $config + * @return \Illuminate\Cache\Repository + * @static + */ + public static function build($config) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->build($config); + } + + /** + * Create a new cache repository with the given implementation. + * + * @param \Illuminate\Contracts\Cache\Store $store + * @param array $config + * @return \Illuminate\Cache\Repository + * @static + */ + public static function repository($store, $config = []) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->repository($store, $config); + } + + /** + * Re-set the event dispatcher on all resolved cache repositories. + * + * @return void + * @static + */ + public static function refreshEventDispatcher() + { + /** @var \Illuminate\Cache\CacheManager $instance */ + $instance->refreshEventDispatcher(); + } + + /** + * Get the default cache driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default cache driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Unset the given driver instances. + * + * @param array|string|null $name + * @return \Illuminate\Cache\CacheManager + * @static + */ + public static function forgetDriver($name = null) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->forgetDriver($name); + } + + /** + * Disconnect the given driver and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + $instance->purge($name); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Cache\CacheManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Cache\CacheManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->setApplication($app); + } + + /** + * Determine if an item exists in the cache. + * + * @param array|string $key + * @return bool + * @static + */ + public static function has($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->has($key); + } + + /** + * Determine if an item doesn't exist in the cache. + * + * @param string $key + * @return bool + * @static + */ + public static function missing($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->missing($key); + } + + /** + * Retrieve an item from the cache by key. + * + * @param array|string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function get($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->get($key, $default); + } + + /** + * Retrieve multiple items from the cache by key. + * + * Items not found in the cache will have a null value. + * + * @param array $keys + * @return array + * @static + */ + public static function many($keys) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->many($keys); + } + + /** + * Obtains multiple cache items by their unique keys. + * + * @return iterable + * @param iterable $keys A list of keys that can be obtained in a single operation. + * @param mixed $default Default value to return for keys that do not exist. + * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value. + * @throws \Psr\SimpleCache\InvalidArgumentException + * MUST be thrown if $keys is neither an array nor a Traversable, + * or if any of the $keys are not a legal value. + * @static + */ + public static function getMultiple($keys, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->getMultiple($keys, $default); + } + + /** + * Retrieve an item from the cache and delete it. + * + * @param array|string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function pull($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->pull($key, $default); + } + + /** + * Store an item in the cache. + * + * @param array|string $key + * @param mixed $value + * @param \DateTimeInterface|\DateInterval|int|null $ttl + * @return bool + * @static + */ + public static function put($key, $value, $ttl = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->put($key, $value, $ttl); + } + + /** + * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. + * + * @return bool + * @param string $key The key of the item to store. + * @param mixed $value The value of the item to store, must be serializable. + * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and + * the driver supports TTL then the library may set a default value + * for it or let the driver take care of that. + * @return bool True on success and false on failure. + * @throws \Psr\SimpleCache\InvalidArgumentException + * MUST be thrown if the $key string is not a legal value. + * @static + */ + public static function set($key, $value, $ttl = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->set($key, $value, $ttl); + } + + /** + * Store multiple items in the cache for a given number of seconds. + * + * @param array $values + * @param \DateTimeInterface|\DateInterval|int|null $ttl + * @return bool + * @static + */ + public static function putMany($values, $ttl = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->putMany($values, $ttl); + } + + /** + * Persists a set of key => value pairs in the cache, with an optional TTL. + * + * @return bool + * @param iterable $values A list of key => value pairs for a multiple-set operation. + * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and + * the driver supports TTL then the library may set a default value + * for it or let the driver take care of that. + * @return bool True on success and false on failure. + * @throws \Psr\SimpleCache\InvalidArgumentException + * MUST be thrown if $values is neither an array nor a Traversable, + * or if any of the $values are not a legal value. + * @static + */ + public static function setMultiple($values, $ttl = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->setMultiple($values, $ttl); + } + + /** + * Store an item in the cache if the key does not exist. + * + * @param string $key + * @param mixed $value + * @param \DateTimeInterface|\DateInterval|int|null $ttl + * @return bool + * @static + */ + public static function add($key, $value, $ttl = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->add($key, $value, $ttl); + } + + /** + * Increment the value of an item in the cache. + * + * @param string $key + * @param mixed $value + * @return int|bool + * @static + */ + public static function increment($key, $value = 1) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->increment($key, $value); + } + + /** + * Decrement the value of an item in the cache. + * + * @param string $key + * @param mixed $value + * @return int|bool + * @static + */ + public static function decrement($key, $value = 1) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->decrement($key, $value); + } + + /** + * Store an item in the cache indefinitely. + * + * @param string $key + * @param mixed $value + * @return bool + * @static + */ + public static function forever($key, $value) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->forever($key, $value); + } + + /** + * Get an item from the cache, or execute the given Closure and store the result. + * + * @template TCacheValue + * @param string $key + * @param \Closure|\DateTimeInterface|\DateInterval|int|null $ttl + * @param \Closure(): TCacheValue $callback + * @return TCacheValue + * @static + */ + public static function remember($key, $ttl, $callback) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->remember($key, $ttl, $callback); + } + + /** + * Get an item from the cache, or execute the given Closure and store the result forever. + * + * @template TCacheValue + * @param string $key + * @param \Closure(): TCacheValue $callback + * @return TCacheValue + * @static + */ + public static function sear($key, $callback) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->sear($key, $callback); + } + + /** + * Get an item from the cache, or execute the given Closure and store the result forever. + * + * @template TCacheValue + * @param string $key + * @param \Closure(): TCacheValue $callback + * @return TCacheValue + * @static + */ + public static function rememberForever($key, $callback) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->rememberForever($key, $callback); + } + + /** + * Retrieve an item from the cache by key, refreshing it in the background if it is stale. + * + * @template TCacheValue + * @param string $key + * @param array{ 0: \DateTimeInterface|\DateInterval|int, 1: \DateTimeInterface|\DateInterval|int } $ttl + * @param (callable(): TCacheValue) $callback + * @param array{ seconds?: int, owner?: string }|null $lock + * @return TCacheValue + * @static + */ + public static function flexible($key, $ttl, $callback, $lock = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->flexible($key, $ttl, $callback, $lock); + } + + /** + * Remove an item from the cache. + * + * @param string $key + * @return bool + * @static + */ + public static function forget($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->forget($key); + } + + /** + * Delete an item from the cache by its unique key. + * + * @return bool + * @param string $key The unique cache key of the item to delete. + * @return bool True if the item was successfully removed. False if there was an error. + * @throws \Psr\SimpleCache\InvalidArgumentException + * MUST be thrown if the $key string is not a legal value. + * @static + */ + public static function delete($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->delete($key); + } + + /** + * Deletes multiple cache items in a single operation. + * + * @return bool + * @param iterable $keys A list of string-based keys to be deleted. + * @return bool True if the items were successfully removed. False if there was an error. + * @throws \Psr\SimpleCache\InvalidArgumentException + * MUST be thrown if $keys is neither an array nor a Traversable, + * or if any of the $keys are not a legal value. + * @static + */ + public static function deleteMultiple($keys) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->deleteMultiple($keys); + } + + /** + * Wipes clean the entire cache's keys. + * + * @return bool + * @return bool True on success and false on failure. + * @static + */ + public static function clear() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->clear(); + } + + /** + * Begin executing a new tags operation if the store supports it. + * + * @param array|mixed $names + * @return \Illuminate\Cache\TaggedCache + * @throws \BadMethodCallException + * @static + */ + public static function tags($names) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->tags($names); + } + + /** + * Get the name of the cache store. + * + * @return string|null + * @static + */ + public static function getName() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->getName(); + } + + /** + * Determine if the current store supports tags. + * + * @return bool + * @static + */ + public static function supportsTags() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->supportsTags(); + } + + /** + * Get the default cache time. + * + * @return int|null + * @static + */ + public static function getDefaultCacheTime() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->getDefaultCacheTime(); + } + + /** + * Set the default cache time in seconds. + * + * @param int|null $seconds + * @return \Illuminate\Cache\Repository + * @static + */ + public static function setDefaultCacheTime($seconds) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->setDefaultCacheTime($seconds); + } + + /** + * Get the cache store implementation. + * + * @return \Illuminate\Contracts\Cache\Store + * @static + */ + public static function getStore() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->getStore(); + } + + /** + * Set the cache store implementation. + * + * @param \Illuminate\Contracts\Cache\Store $store + * @return static + * @static + */ + public static function setStore($store) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->setStore($store); + } + + /** + * Get the event dispatcher instance. + * + * @return \Illuminate\Contracts\Events\Dispatcher|null + * @static + */ + public static function getEventDispatcher() + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->getEventDispatcher(); + } + + /** + * Set the event dispatcher instance. + * + * @param \Illuminate\Contracts\Events\Dispatcher $events + * @return void + * @static + */ + public static function setEventDispatcher($events) + { + /** @var \Illuminate\Cache\Repository $instance */ + $instance->setEventDispatcher($events); + } + + /** + * Determine if a cached value exists. + * + * @param string $key + * @return bool + * @static + */ + public static function offsetExists($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->offsetExists($key); + } + + /** + * Retrieve an item from the cache by key. + * + * @param string $key + * @return mixed + * @static + */ + public static function offsetGet($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->offsetGet($key); + } + + /** + * Store an item in the cache for the default time. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function offsetSet($key, $value) + { + /** @var \Illuminate\Cache\Repository $instance */ + $instance->offsetSet($key, $value); + } + + /** + * Remove an item from the cache. + * + * @param string $key + * @return void + * @static + */ + public static function offsetUnset($key) + { + /** @var \Illuminate\Cache\Repository $instance */ + $instance->offsetUnset($key); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Cache\Repository::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Cache\Repository::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Cache\Repository::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Cache\Repository::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->macroCall($method, $parameters); + } + + /** + * Get a lock instance. + * + * @param string $name + * @param int $seconds + * @param string|null $owner + * @return \Illuminate\Contracts\Cache\Lock + * @static + */ + public static function lock($name, $seconds = 0, $owner = null) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->lock($name, $seconds, $owner); + } + + /** + * Restore a lock instance using the owner identifier. + * + * @param string $name + * @param string $owner + * @return \Illuminate\Contracts\Cache\Lock + * @static + */ + public static function restoreLock($name, $owner) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->restoreLock($name, $owner); + } + + /** + * Remove all items from the cache. + * + * @return bool + * @static + */ + public static function flush() + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->flush(); + } + + /** + * Get the full path for the given cache key. + * + * @param string $key + * @return string + * @static + */ + public static function path($key) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->path($key); + } + + /** + * Get the Filesystem instance. + * + * @return \Illuminate\Filesystem\Filesystem + * @static + */ + public static function getFilesystem() + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->getFilesystem(); + } + + /** + * Get the working directory of the cache. + * + * @return string + * @static + */ + public static function getDirectory() + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->getDirectory(); + } + + /** + * Set the working directory of the cache. + * + * @param string $directory + * @return \Illuminate\Cache\FileStore + * @static + */ + public static function setDirectory($directory) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->setDirectory($directory); + } + + /** + * Set the cache directory where locks should be stored. + * + * @param string|null $lockDirectory + * @return \Illuminate\Cache\FileStore + * @static + */ + public static function setLockDirectory($lockDirectory) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->setLockDirectory($lockDirectory); + } + + /** + * Get the cache key prefix. + * + * @return string + * @static + */ + public static function getPrefix() + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->getPrefix(); + } + + } + /** + * + * + * @method static array run(\Closure|array $tasks) + * @method static \Illuminate\Support\Defer\DeferredCallback defer(\Closure|array $tasks) + * @see \Illuminate\Concurrency\ConcurrencyManager + */ + class Concurrency { + /** + * Get a driver instance by name. + * + * @param string|null $name + * @return mixed + * @static + */ + public static function driver($name = null) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->driver($name); + } + + /** + * Create an instance of the process concurrency driver. + * + * @param array $config + * @return \Illuminate\Concurrency\ProcessDriver + * @static + */ + public static function createProcessDriver($config) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->createProcessDriver($config); + } + + /** + * Create an instance of the fork concurrency driver. + * + * @param array $config + * @return \Illuminate\Concurrency\ForkDriver + * @throws \RuntimeException + * @static + */ + public static function createForkDriver($config) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->createForkDriver($config); + } + + /** + * Create an instance of the sync concurrency driver. + * + * @param array $config + * @return \Illuminate\Concurrency\SyncDriver + * @static + */ + public static function createSyncDriver($config) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->createSyncDriver($config); + } + + /** + * Get the default instance name. + * + * @return string + * @static + */ + public static function getDefaultInstance() + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->getDefaultInstance(); + } + + /** + * Set the default instance name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultInstance($name) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + $instance->setDefaultInstance($name); + } + + /** + * Get the instance specific configuration. + * + * @param string $name + * @return array + * @static + */ + public static function getInstanceConfig($name) + { + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->getInstanceConfig($name); + } + + /** + * Get an instance by name. + * + * @param string|null $name + * @return mixed + * @static + */ + public static function instance($name = null) + { + //Method inherited from \Illuminate\Support\MultipleInstanceManager + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->instance($name); + } + + /** + * Unset the given instances. + * + * @param array|string|null $name + * @return \Illuminate\Concurrency\ConcurrencyManager + * @static + */ + public static function forgetInstance($name = null) + { + //Method inherited from \Illuminate\Support\MultipleInstanceManager + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->forgetInstance($name); + } + + /** + * Disconnect the given instance and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + //Method inherited from \Illuminate\Support\MultipleInstanceManager + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + $instance->purge($name); + } + + /** + * Register a custom instance creator Closure. + * + * @param string $name + * @param \Closure $callback + * @return \Illuminate\Concurrency\ConcurrencyManager + * @static + */ + public static function extend($name, $callback) + { + //Method inherited from \Illuminate\Support\MultipleInstanceManager + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->extend($name, $callback); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Concurrency\ConcurrencyManager + * @static + */ + public static function setApplication($app) + { + //Method inherited from \Illuminate\Support\MultipleInstanceManager + /** @var \Illuminate\Concurrency\ConcurrencyManager $instance */ + return $instance->setApplication($app); + } + + } + /** + * + * + * @see \Illuminate\Config\Repository + */ + class Config { + /** + * Determine if the given configuration value exists. + * + * @param string $key + * @return bool + * @static + */ + public static function has($key) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->has($key); + } + + /** + * Get the specified configuration value. + * + * @param array|string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function get($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->get($key, $default); + } + + /** + * Get many configuration values. + * + * @param array $keys + * @return array + * @static + */ + public static function getMany($keys) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->getMany($keys); + } + + /** + * Get the specified string configuration value. + * + * @param string $key + * @param (\Closure():(string|null))|string|null $default + * @return string + * @static + */ + public static function string($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->string($key, $default); + } + + /** + * Get the specified integer configuration value. + * + * @param string $key + * @param (\Closure():(int|null))|int|null $default + * @return int + * @static + */ + public static function integer($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->integer($key, $default); + } + + /** + * Get the specified float configuration value. + * + * @param string $key + * @param (\Closure():(float|null))|float|null $default + * @return float + * @static + */ + public static function float($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->float($key, $default); + } + + /** + * Get the specified boolean configuration value. + * + * @param string $key + * @param (\Closure():(bool|null))|bool|null $default + * @return bool + * @static + */ + public static function boolean($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->boolean($key, $default); + } + + /** + * Get the specified array configuration value. + * + * @param string $key + * @param (\Closure():(array|null))|array|null $default + * @return array + * @static + */ + public static function array($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->array($key, $default); + } + + /** + * Set a given configuration value. + * + * @param array|string $key + * @param mixed $value + * @return void + * @static + */ + public static function set($key, $value = null) + { + /** @var \Illuminate\Config\Repository $instance */ + $instance->set($key, $value); + } + + /** + * Prepend a value onto an array configuration value. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function prepend($key, $value) + { + /** @var \Illuminate\Config\Repository $instance */ + $instance->prepend($key, $value); + } + + /** + * Push a value onto an array configuration value. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function push($key, $value) + { + /** @var \Illuminate\Config\Repository $instance */ + $instance->push($key, $value); + } + + /** + * Get all of the configuration items for the application. + * + * @return array + * @static + */ + public static function all() + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->all(); + } + + /** + * Determine if the given configuration option exists. + * + * @param string $key + * @return bool + * @static + */ + public static function offsetExists($key) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->offsetExists($key); + } + + /** + * Get a configuration option. + * + * @param string $key + * @return mixed + * @static + */ + public static function offsetGet($key) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->offsetGet($key); + } + + /** + * Set a configuration option. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function offsetSet($key, $value) + { + /** @var \Illuminate\Config\Repository $instance */ + $instance->offsetSet($key, $value); + } + + /** + * Unset a configuration option. + * + * @param string $key + * @return void + * @static + */ + public static function offsetUnset($key) + { + /** @var \Illuminate\Config\Repository $instance */ + $instance->offsetUnset($key); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Config\Repository::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Config\Repository::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Config\Repository::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Config\Repository::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Log\Context\Repository + */ + class Context { + /** + * Determine if the given key exists. + * + * @param string $key + * @return bool + * @static + */ + public static function has($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->has($key); + } + + /** + * Determine if the given key is missing. + * + * @param string $key + * @return bool + * @static + */ + public static function missing($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->missing($key); + } + + /** + * Determine if the given key exists within the hidden context data. + * + * @param string $key + * @return bool + * @static + */ + public static function hasHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hasHidden($key); + } + + /** + * Determine if the given key is missing within the hidden context data. + * + * @param string $key + * @return bool + * @static + */ + public static function missingHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->missingHidden($key); + } + + /** + * Retrieve all the context data. + * + * @return array + * @static + */ + public static function all() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->all(); + } + + /** + * Retrieve all the hidden context data. + * + * @return array + * @static + */ + public static function allHidden() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->allHidden(); + } + + /** + * Retrieve the given key's value. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function get($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->get($key, $default); + } + + /** + * Retrieve the given key's hidden value. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function getHidden($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->getHidden($key, $default); + } + + /** + * Retrieve the given key's value and then forget it. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function pull($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pull($key, $default); + } + + /** + * Retrieve the given key's hidden value and then forget it. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function pullHidden($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pullHidden($key, $default); + } + + /** + * Retrieve only the values of the given keys. + * + * @param array $keys + * @return array + * @static + */ + public static function only($keys) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->only($keys); + } + + /** + * Retrieve only the hidden values of the given keys. + * + * @param array $keys + * @return array + * @static + */ + public static function onlyHidden($keys) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->onlyHidden($keys); + } + + /** + * Add a context value. + * + * @param string|array $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function add($key, $value = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->add($key, $value); + } + + /** + * Add a hidden context value. + * + * @param string|array $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function addHidden($key, $value = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addHidden($key, $value); + } + + /** + * Forget the given context key. + * + * @param string|array $key + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function forget($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->forget($key); + } + + /** + * Forget the given hidden context key. + * + * @param string|array $key + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function forgetHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->forgetHidden($key); + } + + /** + * Add a context value if it does not exist yet. + * + * @param string $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function addIf($key, $value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addIf($key, $value); + } + + /** + * Add a hidden context value if it does not exist yet. + * + * @param string $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function addHiddenIf($key, $value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addHiddenIf($key, $value); + } + + /** + * Push the given values onto the key's stack. + * + * @param string $key + * @param mixed $values + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ + public static function push($key, ...$values) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->push($key, ...$values); + } + + /** + * Pop the latest value from the key's stack. + * + * @param string $key + * @return mixed + * @throws \RuntimeException + * @static + */ + public static function pop($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pop($key); + } + + /** + * Push the given hidden values onto the key's stack. + * + * @param string $key + * @param mixed $values + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ + public static function pushHidden($key, ...$values) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pushHidden($key, ...$values); + } + + /** + * Pop the latest hidden value from the key's stack. + * + * @param string $key + * @return mixed + * @throws \RuntimeException + * @static + */ + public static function popHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->popHidden($key); + } + + /** + * Determine if the given value is in the given stack. + * + * @param string $key + * @param mixed $value + * @param bool $strict + * @return bool + * @throws \RuntimeException + * @static + */ + public static function stackContains($key, $value, $strict = false) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->stackContains($key, $value, $strict); + } + + /** + * Determine if the given value is in the given hidden stack. + * + * @param string $key + * @param mixed $value + * @param bool $strict + * @return bool + * @throws \RuntimeException + * @static + */ + public static function hiddenStackContains($key, $value, $strict = false) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hiddenStackContains($key, $value, $strict); + } + + /** + * Determine if the repository is empty. + * + * @return bool + * @static + */ + public static function isEmpty() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->isEmpty(); + } + + /** + * Execute the given callback when context is about to be dehydrated. + * + * @param callable $callback + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function dehydrating($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->dehydrating($callback); + } + + /** + * Execute the given callback when context has been hydrated. + * + * @param callable $callback + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function hydrated($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hydrated($callback); + } + + /** + * Handle unserialize exceptions using the given callback. + * + * @param callable|null $callback + * @return static + * @static + */ + public static function handleUnserializeExceptionsUsing($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->handleUnserializeExceptionsUsing($callback); + } + + /** + * Flush all context data. + * + * @return \Illuminate\Log\Context\Repository + * @static + */ + public static function flush() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->flush(); + } + + /** + * Dehydrate the context data. + * + * @internal + * @return \Illuminate\Log\Context\?array + * @static + */ + public static function dehydrate() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->dehydrate(); + } + + /** + * Hydrate the context instance. + * + * @internal + * @param \Illuminate\Log\Context\?array $context + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ + public static function hydrate($context) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hydrate($context); + } + + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|TWhenReturnType + * @static + */ + public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->when($value, $callback, $default); + } + + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|TUnlessReturnType + * @static + */ + public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->unless($value, $callback, $default); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Log\Context\Repository::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Log\Context\Repository::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Log\Context\Repository::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Log\Context\Repository::flushMacros(); + } + + /** + * Restore the model from the model identifier instance. + * + * @param \Illuminate\Contracts\Database\ModelIdentifier $value + * @return \Illuminate\Database\Eloquent\Model + * @static + */ + public static function restoreModel($value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->restoreModel($value); + } + + } + /** + * + * + * @see \Illuminate\Cookie\CookieJar + */ + class Cookie { + /** + * Create a new cookie instance. + * + * @param string $name + * @param string $value + * @param int $minutes + * @param string|null $path + * @param string|null $domain + * @param bool|null $secure + * @param bool $httpOnly + * @param bool $raw + * @param string|null $sameSite + * @return \Symfony\Component\HttpFoundation\Cookie + * @static + */ + public static function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->make($name, $value, $minutes, $path, $domain, $secure, $httpOnly, $raw, $sameSite); + } + + /** + * Create a cookie that lasts "forever" (400 days). + * + * @param string $name + * @param string $value + * @param string|null $path + * @param string|null $domain + * @param bool|null $secure + * @param bool $httpOnly + * @param bool $raw + * @param string|null $sameSite + * @return \Symfony\Component\HttpFoundation\Cookie + * @static + */ + public static function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->forever($name, $value, $path, $domain, $secure, $httpOnly, $raw, $sameSite); + } + + /** + * Expire the given cookie. + * + * @param string $name + * @param string|null $path + * @param string|null $domain + * @return \Symfony\Component\HttpFoundation\Cookie + * @static + */ + public static function forget($name, $path = null, $domain = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->forget($name, $path, $domain); + } + + /** + * Determine if a cookie has been queued. + * + * @param string $key + * @param string|null $path + * @return bool + * @static + */ + public static function hasQueued($key, $path = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->hasQueued($key, $path); + } + + /** + * Get a queued cookie instance. + * + * @param string $key + * @param mixed $default + * @param string|null $path + * @return \Symfony\Component\HttpFoundation\Cookie|null + * @static + */ + public static function queued($key, $default = null, $path = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->queued($key, $default, $path); + } + + /** + * Queue a cookie to send with the next response. + * + * @param mixed $parameters + * @return void + * @static + */ + public static function queue(...$parameters) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + $instance->queue(...$parameters); + } + + /** + * Queue a cookie to expire with the next response. + * + * @param string $name + * @param string|null $path + * @param string|null $domain + * @return void + * @static + */ + public static function expire($name, $path = null, $domain = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + $instance->expire($name, $path, $domain); + } + + /** + * Remove a cookie from the queue. + * + * @param string $name + * @param string|null $path + * @return void + * @static + */ + public static function unqueue($name, $path = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + $instance->unqueue($name, $path); + } + + /** + * Set the default path and domain for the jar. + * + * @param string $path + * @param string|null $domain + * @param bool|null $secure + * @param string|null $sameSite + * @return \Illuminate\Cookie\CookieJar + * @static + */ + public static function setDefaultPathAndDomain($path, $domain, $secure = false, $sameSite = null) + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->setDefaultPathAndDomain($path, $domain, $secure, $sameSite); + } + + /** + * Get the cookies which have been queued for the next request. + * + * @return \Symfony\Component\HttpFoundation\Cookie[] + * @static + */ + public static function getQueuedCookies() + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->getQueuedCookies(); + } + + /** + * Flush the cookies which have been queued for the next request. + * + * @return \Illuminate\Cookie\CookieJar + * @static + */ + public static function flushQueuedCookies() + { + /** @var \Illuminate\Cookie\CookieJar $instance */ + return $instance->flushQueuedCookies(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Cookie\CookieJar::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Cookie\CookieJar::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Cookie\CookieJar::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Cookie\CookieJar::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Encryption\Encrypter + */ + class Crypt { + /** + * Determine if the given key and cipher combination is valid. + * + * @param string $key + * @param string $cipher + * @return bool + * @static + */ + public static function supported($key, $cipher) + { + return \Illuminate\Encryption\Encrypter::supported($key, $cipher); + } + + /** + * Create a new encryption key for the given cipher. + * + * @param string $cipher + * @return string + * @static + */ + public static function generateKey($cipher) + { + return \Illuminate\Encryption\Encrypter::generateKey($cipher); + } + + /** + * Encrypt the given value. + * + * @param mixed $value + * @param bool $serialize + * @return string + * @throws \Illuminate\Contracts\Encryption\EncryptException + * @static + */ + public static function encrypt($value, $serialize = true) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->encrypt($value, $serialize); + } + + /** + * Encrypt a string without serialization. + * + * @param string $value + * @return string + * @throws \Illuminate\Contracts\Encryption\EncryptException + * @static + */ + public static function encryptString($value) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->encryptString($value); + } + + /** + * Decrypt the given value. + * + * @param string $payload + * @param bool $unserialize + * @return mixed + * @throws \Illuminate\Contracts\Encryption\DecryptException + * @static + */ + public static function decrypt($payload, $unserialize = true) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->decrypt($payload, $unserialize); + } + + /** + * Decrypt the given string without unserialization. + * + * @param string $payload + * @return string + * @throws \Illuminate\Contracts\Encryption\DecryptException + * @static + */ + public static function decryptString($payload) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->decryptString($payload); + } + + /** + * Get the encryption key that the encrypter is currently using. + * + * @return string + * @static + */ + public static function getKey() + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->getKey(); + } + + /** + * Get the current encryption key and all previous encryption keys. + * + * @return array + * @static + */ + public static function getAllKeys() + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->getAllKeys(); + } + + /** + * Get the previous encryption keys. + * + * @return array + * @static + */ + public static function getPreviousKeys() + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->getPreviousKeys(); + } + + /** + * Set the previous / legacy encryption keys that should be utilized if decryption fails. + * + * @param array $keys + * @return \Illuminate\Encryption\Encrypter + * @static + */ + public static function previousKeys($keys) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->previousKeys($keys); + } + + } + /** + * + * + * @see https://carbon.nesbot.com/docs/ + * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php + * @method static \Illuminate\Support\Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) + * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) + * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimeString($time, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestamp($timestamp, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestampMs($timestamp, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp) + * @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) + * @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) + * @method static void disableHumanDiffOption($humanDiffOption) + * @method static void enableHumanDiffOption($humanDiffOption) + * @method static mixed executeWithLocale($locale, $func) + * @method static \Illuminate\Support\Carbon fromSerialized($value) + * @method static array getAvailableLocales() + * @method static array getDays() + * @method static int getHumanDiffOptions() + * @method static array getIsoUnits() + * @method static array getLastErrors() + * @method static string getLocale() + * @method static int getMidDayAt() + * @method static \Illuminate\Support\Carbon|null getTestNow() + * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator() + * @method static int getWeekEndsAt() + * @method static int getWeekStartsAt() + * @method static array getWeekendDays() + * @method static bool hasFormat($date, $format) + * @method static bool hasMacro($name) + * @method static bool hasRelativeKeywords($time) + * @method static bool hasTestNow() + * @method static \Illuminate\Support\Carbon instance($date) + * @method static bool isImmutable() + * @method static bool isModifiableUnit($unit) + * @method static bool isMutable() + * @method static bool isStrictModeEnabled() + * @method static bool localeHasDiffOneDayWords($locale) + * @method static bool localeHasDiffSyntax($locale) + * @method static bool localeHasDiffTwoDayWords($locale) + * @method static bool localeHasPeriodSyntax($locale) + * @method static bool localeHasShortUnits($locale) + * @method static void macro($name, $macro) + * @method static \Illuminate\Support\Carbon|null make($var) + * @method static \Illuminate\Support\Carbon maxValue() + * @method static \Illuminate\Support\Carbon minValue() + * @method static void mixin($mixin) + * @method static \Illuminate\Support\Carbon now($tz = null) + * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null) + * @method static string pluralUnit(string $unit) + * @method static void resetMonthsOverflow() + * @method static void resetToStringFormat() + * @method static void resetYearsOverflow() + * @method static void serializeUsing($callback) + * @method static void setHumanDiffOptions($humanDiffOptions) + * @method static bool setLocale($locale) + * @method static void setMidDayAt($hour) + * @method static void setTestNow($testNow = null) + * @method static void setToStringFormat($format) + * @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) + * @method static void setUtf8($utf8) + * @method static void setWeekEndsAt($day) + * @method static void setWeekStartsAt($day) + * @method static void setWeekendDays($days) + * @method static bool shouldOverflowMonths() + * @method static bool shouldOverflowYears() + * @method static string singularUnit(string $unit) + * @method static \Illuminate\Support\Carbon today($tz = null) + * @method static \Illuminate\Support\Carbon tomorrow($tz = null) + * @method static void useMonthsOverflow($monthsOverflow = true) + * @method static void useStrictMode($strictModeEnabled = true) + * @method static void useYearsOverflow($yearsOverflow = true) + * @method static \Illuminate\Support\Carbon yesterday($tz = null) + * @see \Illuminate\Support\DateFactory + */ + class Date { + /** + * Use the given handler when generating dates (class name, callable, or factory). + * + * @param mixed $handler + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function use($handler) + { + return \Illuminate\Support\DateFactory::use($handler); + } + + /** + * Use the default date class when generating dates. + * + * @return void + * @static + */ + public static function useDefault() + { + \Illuminate\Support\DateFactory::useDefault(); + } + + /** + * Execute the given callable on each date creation. + * + * @param callable $callable + * @return void + * @static + */ + public static function useCallable($callable) + { + \Illuminate\Support\DateFactory::useCallable($callable); + } + + /** + * Use the given date type (class) when generating dates. + * + * @param string $dateClass + * @return void + * @static + */ + public static function useClass($dateClass) + { + \Illuminate\Support\DateFactory::useClass($dateClass); + } + + /** + * Use the given Carbon factory when generating dates. + * + * @param object $factory + * @return void + * @static + */ + public static function useFactory($factory) + { + \Illuminate\Support\DateFactory::useFactory($factory); + } + + } + /** + * + * + * @see \Illuminate\Database\DatabaseManager + */ + class DB { + /** + * Get a database connection instance. + * + * @param string|null $name + * @return \Illuminate\Database\Connection + * @static + */ + public static function connection($name = null) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->connection($name); + } + + /** + * Build a database connection instance from the given configuration. + * + * @param array $config + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function build($config) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->build($config); + } + + /** + * Calculate the dynamic connection name for an on-demand connection based on its configuration. + * + * @param array $config + * @return string + * @static + */ + public static function calculateDynamicConnectionName($config) + { + return \Illuminate\Database\DatabaseManager::calculateDynamicConnectionName($config); + } + + /** + * Get a database connection instance from the given configuration. + * + * @param string $name + * @param array $config + * @param bool $force + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function connectUsing($name, $config, $force = false) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->connectUsing($name, $config, $force); + } + + /** + * Disconnect from the given database and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->purge($name); + } + + /** + * Disconnect from the given database. + * + * @param string|null $name + * @return void + * @static + */ + public static function disconnect($name = null) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->disconnect($name); + } + + /** + * Reconnect to the given database. + * + * @param string|null $name + * @return \Illuminate\Database\Connection + * @static + */ + public static function reconnect($name = null) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->reconnect($name); + } + + /** + * Set the default database connection for the callback execution. + * + * @param string $name + * @param callable $callback + * @return mixed + * @static + */ + public static function usingConnection($name, $callback) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->usingConnection($name, $callback); + } + + /** + * Get the default connection name. + * + * @return string + * @static + */ + public static function getDefaultConnection() + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->getDefaultConnection(); + } + + /** + * Set the default connection name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultConnection($name) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->setDefaultConnection($name); + } + + /** + * Get all of the supported drivers. + * + * @return string[] + * @static + */ + public static function supportedDrivers() + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->supportedDrivers(); + } + + /** + * Get all of the drivers that are actually available. + * + * @return string[] + * @static + */ + public static function availableDrivers() + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->availableDrivers(); + } + + /** + * Register an extension connection resolver. + * + * @param string $name + * @param callable $resolver + * @return void + * @static + */ + public static function extend($name, $resolver) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->extend($name, $resolver); + } + + /** + * Remove an extension connection resolver. + * + * @param string $name + * @return void + * @static + */ + public static function forgetExtension($name) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->forgetExtension($name); + } + + /** + * Return all of the created connections. + * + * @return array + * @static + */ + public static function getConnections() + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->getConnections(); + } + + /** + * Set the database reconnector callback. + * + * @param callable $reconnector + * @return void + * @static + */ + public static function setReconnector($reconnector) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + $instance->setReconnector($reconnector); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Database\DatabaseManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->setApplication($app); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Database\DatabaseManager::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Database\DatabaseManager::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Database\DatabaseManager::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Database\DatabaseManager::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->macroCall($method, $parameters); + } + + /** + * Get a human-readable name for the given connection driver. + * + * @return string + * @static + */ + public static function getDriverTitle() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getDriverTitle(); + } + + /** + * Run an insert statement against the database. + * + * @param string $query + * @param array $bindings + * @param string|null $sequence + * @return bool + * @static + */ + public static function insert($query, $bindings = [], $sequence = null) + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->insert($query, $bindings, $sequence); + } + + /** + * Get the connection's last insert ID. + * + * @return string|int|null + * @static + */ + public static function getLastInsertId() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getLastInsertId(); + } + + /** + * Determine if the connected database is a MariaDB database. + * + * @return bool + * @static + */ + public static function isMaria() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->isMaria(); + } + + /** + * Get the server version for the connection. + * + * @return string + * @static + */ + public static function getServerVersion() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getServerVersion(); + } + + /** + * Get a schema builder instance for the connection. + * + * @return \Illuminate\Database\Schema\MySqlBuilder + * @static + */ + public static function getSchemaBuilder() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getSchemaBuilder(); + } + + /** + * Get the schema state for the connection. + * + * @param \Illuminate\Filesystem\Filesystem|null $files + * @param callable|null $processFactory + * @return \Illuminate\Database\Schema\MySqlSchemaState + * @static + */ + public static function getSchemaState($files = null, $processFactory = null) + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getSchemaState($files, $processFactory); + } + + /** + * Set the query grammar to the default implementation. + * + * @return void + * @static + */ + public static function useDefaultQueryGrammar() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->useDefaultQueryGrammar(); + } + + /** + * Set the schema grammar to the default implementation. + * + * @return void + * @static + */ + public static function useDefaultSchemaGrammar() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->useDefaultSchemaGrammar(); + } + + /** + * Set the query post processor to the default implementation. + * + * @return void + * @static + */ + public static function useDefaultPostProcessor() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->useDefaultPostProcessor(); + } + + /** + * Begin a fluent query against a database table. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table + * @param string|null $as + * @return \Illuminate\Database\Query\Builder + * @static + */ + public static function table($table, $as = null) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->table($table, $as); + } + + /** + * Get a new query builder instance. + * + * @return \Illuminate\Database\Query\Builder + * @static + */ + public static function query() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->query(); + } + + /** + * Run a select statement and return a single result. + * + * @param string $query + * @param array $bindings + * @param bool $useReadPdo + * @return mixed + * @static + */ + public static function selectOne($query, $bindings = [], $useReadPdo = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->selectOne($query, $bindings, $useReadPdo); + } + + /** + * Run a select statement and return the first column of the first row. + * + * @param string $query + * @param array $bindings + * @param bool $useReadPdo + * @return mixed + * @throws \Illuminate\Database\MultipleColumnsSelectedException + * @static + */ + public static function scalar($query, $bindings = [], $useReadPdo = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->scalar($query, $bindings, $useReadPdo); + } + + /** + * Run a select statement against the database. + * + * @param string $query + * @param array $bindings + * @return array + * @static + */ + public static function selectFromWriteConnection($query, $bindings = []) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->selectFromWriteConnection($query, $bindings); + } + + /** + * Run a select statement against the database. + * + * @param string $query + * @param array $bindings + * @param bool $useReadPdo + * @return array + * @static + */ + public static function select($query, $bindings = [], $useReadPdo = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->select($query, $bindings, $useReadPdo); + } + + /** + * Run a select statement against the database and returns all of the result sets. + * + * @param string $query + * @param array $bindings + * @param bool $useReadPdo + * @return array + * @static + */ + public static function selectResultSets($query, $bindings = [], $useReadPdo = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->selectResultSets($query, $bindings, $useReadPdo); + } + + /** + * Run a select statement against the database and returns a generator. + * + * @param string $query + * @param array $bindings + * @param bool $useReadPdo + * @return \Generator + * @static + */ + public static function cursor($query, $bindings = [], $useReadPdo = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->cursor($query, $bindings, $useReadPdo); + } + + /** + * Run an update statement against the database. + * + * @param string $query + * @param array $bindings + * @return int + * @static + */ + public static function update($query, $bindings = []) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->update($query, $bindings); + } + + /** + * Run a delete statement against the database. + * + * @param string $query + * @param array $bindings + * @return int + * @static + */ + public static function delete($query, $bindings = []) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->delete($query, $bindings); + } + + /** + * Execute an SQL statement and return the boolean result. + * + * @param string $query + * @param array $bindings + * @return bool + * @static + */ + public static function statement($query, $bindings = []) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->statement($query, $bindings); + } + + /** + * Run an SQL statement and get the number of rows affected. + * + * @param string $query + * @param array $bindings + * @return int + * @static + */ + public static function affectingStatement($query, $bindings = []) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->affectingStatement($query, $bindings); + } + + /** + * Run a raw, unprepared query against the PDO connection. + * + * @param string $query + * @return bool + * @static + */ + public static function unprepared($query) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->unprepared($query); + } + + /** + * Get the number of open connections for the database. + * + * @return int|null + * @static + */ + public static function threadCount() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->threadCount(); + } + + /** + * Execute the given callback in "dry run" mode. + * + * @param \Closure $callback + * @return array + * @static + */ + public static function pretend($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->pretend($callback); + } + + /** + * Execute the given callback without "pretending". + * + * @param \Closure $callback + * @return mixed + * @static + */ + public static function withoutPretending($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->withoutPretending($callback); + } + + /** + * Bind values to their parameters in the given statement. + * + * @param \PDOStatement $statement + * @param array $bindings + * @return void + * @static + */ + public static function bindValues($statement, $bindings) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->bindValues($statement, $bindings); + } + + /** + * Prepare the query bindings for execution. + * + * @param array $bindings + * @return array + * @static + */ + public static function prepareBindings($bindings) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->prepareBindings($bindings); + } + + /** + * Log a query in the connection's query log. + * + * @param string $query + * @param array $bindings + * @param float|null $time + * @return void + * @static + */ + public static function logQuery($query, $bindings, $time = null) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->logQuery($query, $bindings, $time); + } + + /** + * Register a callback to be invoked when the connection queries for longer than a given amount of time. + * + * @param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold + * @param callable $handler + * @return void + * @static + */ + public static function whenQueryingForLongerThan($threshold, $handler) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->whenQueryingForLongerThan($threshold, $handler); + } + + /** + * Allow all the query duration handlers to run again, even if they have already run. + * + * @return void + * @static + */ + public static function allowQueryDurationHandlersToRunAgain() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->allowQueryDurationHandlersToRunAgain(); + } + + /** + * Get the duration of all run queries in milliseconds. + * + * @return float + * @static + */ + public static function totalQueryDuration() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->totalQueryDuration(); + } + + /** + * Reset the duration of all run queries. + * + * @return void + * @static + */ + public static function resetTotalQueryDuration() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->resetTotalQueryDuration(); + } + + /** + * Reconnect to the database if a PDO connection is missing. + * + * @return void + * @static + */ + public static function reconnectIfMissingConnection() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->reconnectIfMissingConnection(); + } + + /** + * Register a hook to be run just before a database transaction is started. + * + * @param \Closure $callback + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function beforeStartingTransaction($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->beforeStartingTransaction($callback); + } + + /** + * Register a hook to be run just before a database query is executed. + * + * @param \Closure $callback + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function beforeExecuting($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->beforeExecuting($callback); + } + + /** + * Register a database query listener with the connection. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function listen($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->listen($callback); + } + + /** + * Get a new raw query expression. + * + * @param mixed $value + * @return \Illuminate\Contracts\Database\Query\Expression + * @static + */ + public static function raw($value) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->raw($value); + } + + /** + * Escape a value for safe SQL embedding. + * + * @param string|float|int|bool|null $value + * @param bool $binary + * @return string + * @static + */ + public static function escape($value, $binary = false) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->escape($value, $binary); + } + + /** + * Determine if the database connection has modified any database records. + * + * @return bool + * @static + */ + public static function hasModifiedRecords() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->hasModifiedRecords(); + } + + /** + * Indicate if any records have been modified. + * + * @param bool $value + * @return void + * @static + */ + public static function recordsHaveBeenModified($value = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->recordsHaveBeenModified($value); + } + + /** + * Set the record modification state. + * + * @param bool $value + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setRecordModificationState($value) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setRecordModificationState($value); + } + + /** + * Reset the record modification state. + * + * @return void + * @static + */ + public static function forgetRecordModificationState() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->forgetRecordModificationState(); + } + + /** + * Indicate that the connection should use the write PDO connection for reads. + * + * @param bool $value + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function useWriteConnectionWhenReading($value = true) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->useWriteConnectionWhenReading($value); + } + + /** + * Get the current PDO connection. + * + * @return \PDO + * @static + */ + public static function getPdo() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getPdo(); + } + + /** + * Get the current PDO connection parameter without executing any reconnect logic. + * + * @return \PDO|\Closure|null + * @static + */ + public static function getRawPdo() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getRawPdo(); + } + + /** + * Get the current PDO connection used for reading. + * + * @return \PDO + * @static + */ + public static function getReadPdo() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getReadPdo(); + } + + /** + * Get the current read PDO connection parameter without executing any reconnect logic. + * + * @return \PDO|\Closure|null + * @static + */ + public static function getRawReadPdo() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getRawReadPdo(); + } + + /** + * Set the PDO connection. + * + * @param \PDO|\Closure|null $pdo + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setPdo($pdo) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setPdo($pdo); + } + + /** + * Set the PDO connection used for reading. + * + * @param \PDO|\Closure|null $pdo + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setReadPdo($pdo) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setReadPdo($pdo); + } + + /** + * Get the database connection name. + * + * @return string|null + * @static + */ + public static function getName() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getName(); + } + + /** + * Get the database connection full name. + * + * @return string|null + * @static + */ + public static function getNameWithReadWriteType() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getNameWithReadWriteType(); + } + + /** + * Get an option from the configuration options. + * + * @param string|null $option + * @return mixed + * @static + */ + public static function getConfig($option = null) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getConfig($option); + } + + /** + * Get the PDO driver name. + * + * @return string + * @static + */ + public static function getDriverName() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getDriverName(); + } + + /** + * Get the query grammar used by the connection. + * + * @return \Illuminate\Database\Query\Grammars\Grammar + * @static + */ + public static function getQueryGrammar() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getQueryGrammar(); + } + + /** + * Set the query grammar used by the connection. + * + * @param \Illuminate\Database\Query\Grammars\Grammar $grammar + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setQueryGrammar($grammar) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setQueryGrammar($grammar); + } + + /** + * Get the schema grammar used by the connection. + * + * @return \Illuminate\Database\Schema\Grammars\Grammar + * @static + */ + public static function getSchemaGrammar() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getSchemaGrammar(); + } + + /** + * Set the schema grammar used by the connection. + * + * @param \Illuminate\Database\Schema\Grammars\Grammar $grammar + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setSchemaGrammar($grammar) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setSchemaGrammar($grammar); + } + + /** + * Get the query post processor used by the connection. + * + * @return \Illuminate\Database\Query\Processors\Processor + * @static + */ + public static function getPostProcessor() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getPostProcessor(); + } + + /** + * Set the query post processor used by the connection. + * + * @param \Illuminate\Database\Query\Processors\Processor $processor + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setPostProcessor($processor) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setPostProcessor($processor); + } + + /** + * Get the event dispatcher used by the connection. + * + * @return \Illuminate\Contracts\Events\Dispatcher + * @static + */ + public static function getEventDispatcher() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getEventDispatcher(); + } + + /** + * Set the event dispatcher instance on the connection. + * + * @param \Illuminate\Contracts\Events\Dispatcher $events + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setEventDispatcher($events) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setEventDispatcher($events); + } + + /** + * Unset the event dispatcher for this connection. + * + * @return void + * @static + */ + public static function unsetEventDispatcher() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->unsetEventDispatcher(); + } + + /** + * Set the transaction manager instance on the connection. + * + * @param \Illuminate\Database\DatabaseTransactionsManager $manager + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setTransactionManager($manager) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setTransactionManager($manager); + } + + /** + * Unset the transaction manager for this connection. + * + * @return void + * @static + */ + public static function unsetTransactionManager() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->unsetTransactionManager(); + } + + /** + * Determine if the connection is in a "dry run". + * + * @return bool + * @static + */ + public static function pretending() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->pretending(); + } + + /** + * Get the connection query log. + * + * @return array + * @static + */ + public static function getQueryLog() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getQueryLog(); + } + + /** + * Get the connection query log with embedded bindings. + * + * @return array + * @static + */ + public static function getRawQueryLog() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getRawQueryLog(); + } + + /** + * Clear the query log. + * + * @return void + * @static + */ + public static function flushQueryLog() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->flushQueryLog(); + } + + /** + * Enable the query log on the connection. + * + * @return void + * @static + */ + public static function enableQueryLog() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->enableQueryLog(); + } + + /** + * Disable the query log on the connection. + * + * @return void + * @static + */ + public static function disableQueryLog() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->disableQueryLog(); + } + + /** + * Determine whether we're logging queries. + * + * @return bool + * @static + */ + public static function logging() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->logging(); + } + + /** + * Get the name of the connected database. + * + * @return string + * @static + */ + public static function getDatabaseName() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getDatabaseName(); + } + + /** + * Set the name of the connected database. + * + * @param string $database + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setDatabaseName($database) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setDatabaseName($database); + } + + /** + * Set the read / write type of the connection. + * + * @param string|null $readWriteType + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setReadWriteType($readWriteType) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setReadWriteType($readWriteType); + } + + /** + * Get the table prefix for the connection. + * + * @return string + * @static + */ + public static function getTablePrefix() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getTablePrefix(); + } + + /** + * Set the table prefix in use by the connection. + * + * @param string $prefix + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setTablePrefix($prefix) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setTablePrefix($prefix); + } + + /** + * Set the table prefix and return the grammar. + * + * @template TGrammar of \Illuminate\Database\Grammar + * @param TGrammar $grammar + * @return TGrammar + * @static + */ + public static function withTablePrefix($grammar) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->withTablePrefix($grammar); + } + + /** + * Execute the given callback without table prefix. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function withoutTablePrefix($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->withoutTablePrefix($callback); + } + + /** + * Register a connection resolver. + * + * @param string $driver + * @param \Closure $callback + * @return void + * @static + */ + public static function resolverFor($driver, $callback) + { + //Method inherited from \Illuminate\Database\Connection + \Illuminate\Database\MySqlConnection::resolverFor($driver, $callback); + } + + /** + * Get the connection resolver for the given driver. + * + * @param string $driver + * @return \Closure|null + * @static + */ + public static function getResolver($driver) + { + //Method inherited from \Illuminate\Database\Connection + return \Illuminate\Database\MySqlConnection::getResolver($driver); + } + + /** + * + * + * @template TReturn of mixed + * + * Execute a Closure within a transaction. + * @param (\Closure(static): TReturn) $callback + * @param int $attempts + * @return TReturn + * @throws \Throwable + * @static + */ + public static function transaction($callback, $attempts = 1) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->transaction($callback, $attempts); + } + + /** + * Start a new database transaction. + * + * @return void + * @throws \Throwable + * @static + */ + public static function beginTransaction() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->beginTransaction(); + } + + /** + * Commit the active database transaction. + * + * @return void + * @throws \Throwable + * @static + */ + public static function commit() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->commit(); + } + + /** + * Rollback the active database transaction. + * + * @param int|null $toLevel + * @return void + * @throws \Throwable + * @static + */ + public static function rollBack($toLevel = null) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->rollBack($toLevel); + } + + /** + * Get the number of active transactions. + * + * @return int + * @static + */ + public static function transactionLevel() + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->transactionLevel(); + } + + /** + * Execute the callback after a transaction commits. + * + * @param callable $callback + * @return void + * @throws \RuntimeException + * @static + */ + public static function afterCommit($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->afterCommit($callback); + } + + } + /** + * + * + * @see \Illuminate\Events\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\EventFake + */ + class Event { + /** + * Register an event listener with the dispatcher. + * + * @param \Illuminate\Events\Queued\Closure|callable|array|class-string|string $events + * @param \Illuminate\Events\Queued\Closure|callable|array|class-string|null $listener + * @return void + * @static + */ + public static function listen($events, $listener = null) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->listen($events, $listener); + } + + /** + * Determine if a given event has listeners. + * + * @param string $eventName + * @return bool + * @static + */ + public static function hasListeners($eventName) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->hasListeners($eventName); + } + + /** + * Determine if the given event has any wildcard listeners. + * + * @param string $eventName + * @return bool + * @static + */ + public static function hasWildcardListeners($eventName) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->hasWildcardListeners($eventName); + } + + /** + * Register an event and payload to be fired later. + * + * @param string $event + * @param object|array $payload + * @return void + * @static + */ + public static function push($event, $payload = []) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->push($event, $payload); + } + + /** + * Flush a set of pushed events. + * + * @param string $event + * @return void + * @static + */ + public static function flush($event) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->flush($event); + } + + /** + * Register an event subscriber with the dispatcher. + * + * @param object|string $subscriber + * @return void + * @static + */ + public static function subscribe($subscriber) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->subscribe($subscriber); + } + + /** + * Fire an event until the first non-null response is returned. + * + * @param string|object $event + * @param mixed $payload + * @return mixed + * @static + */ + public static function until($event, $payload = []) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->until($event, $payload); + } + + /** + * Fire an event and call the listeners. + * + * @param string|object $event + * @param mixed $payload + * @param bool $halt + * @return array|null + * @static + */ + public static function dispatch($event, $payload = [], $halt = false) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->dispatch($event, $payload, $halt); + } + + /** + * Get all of the listeners for a given event name. + * + * @param string $eventName + * @return array + * @static + */ + public static function getListeners($eventName) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->getListeners($eventName); + } + + /** + * Register an event listener with the dispatcher. + * + * @param \Closure|string|array $listener + * @param bool $wildcard + * @return \Closure + * @static + */ + public static function makeListener($listener, $wildcard = false) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->makeListener($listener, $wildcard); + } + + /** + * Create a class based listener using the IoC container. + * + * @param string $listener + * @param bool $wildcard + * @return \Closure + * @static + */ + public static function createClassListener($listener, $wildcard = false) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->createClassListener($listener, $wildcard); + } + + /** + * Remove a set of listeners from the dispatcher. + * + * @param string $event + * @return void + * @static + */ + public static function forget($event) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->forget($event); + } + + /** + * Forget all of the pushed listeners. + * + * @return void + * @static + */ + public static function forgetPushed() + { + /** @var \Illuminate\Events\Dispatcher $instance */ + $instance->forgetPushed(); + } + + /** + * Set the queue resolver implementation. + * + * @param callable $resolver + * @return \Illuminate\Events\Dispatcher + * @static + */ + public static function setQueueResolver($resolver) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->setQueueResolver($resolver); + } + + /** + * Set the database transaction manager resolver implementation. + * + * @param callable $resolver + * @return \Illuminate\Events\Dispatcher + * @static + */ + public static function setTransactionManagerResolver($resolver) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->setTransactionManagerResolver($resolver); + } + + /** + * Gets the raw, unprepared listeners. + * + * @return array + * @static + */ + public static function getRawListeners() + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->getRawListeners(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Events\Dispatcher::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Events\Dispatcher::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Events\Dispatcher::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Events\Dispatcher::flushMacros(); + } + + /** + * Specify the events that should be dispatched instead of faked. + * + * @param array|string $eventsToDispatch + * @return \Illuminate\Support\Testing\Fakes\EventFake + * @static + */ + public static function except($eventsToDispatch) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + return $instance->except($eventsToDispatch); + } + + /** + * Assert if an event has a listener attached to it. + * + * @param string $expectedEvent + * @param string|array $expectedListener + * @return void + * @static + */ + public static function assertListening($expectedEvent, $expectedListener) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertListening($expectedEvent, $expectedListener); + } + + /** + * Assert if an event was dispatched based on a truth-test callback. + * + * @param string|\Closure $event + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertDispatched($event, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertDispatched($event, $callback); + } + + /** + * Assert if an event was dispatched a number of times. + * + * @param string $event + * @param int $times + * @return void + * @static + */ + public static function assertDispatchedTimes($event, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertDispatchedTimes($event, $times); + } + + /** + * Determine if an event was dispatched based on a truth-test callback. + * + * @param string|\Closure $event + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotDispatched($event, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertNotDispatched($event, $callback); + } + + /** + * Assert that no events were dispatched. + * + * @return void + * @static + */ + public static function assertNothingDispatched() + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertNothingDispatched(); + } + + /** + * Get all of the events matching a truth-test callback. + * + * @param string $event + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function dispatched($event, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + return $instance->dispatched($event, $callback); + } + + /** + * Determine if the given event has been dispatched. + * + * @param string $event + * @return bool + * @static + */ + public static function hasDispatched($event) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + return $instance->hasDispatched($event); + } + + /** + * Get the events that have been dispatched. + * + * @return array + * @static + */ + public static function dispatchedEvents() + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + return $instance->dispatchedEvents(); + } + + } + /** + * + * + * @see \Illuminate\Filesystem\Filesystem + */ + class File { + /** + * Determine if a file or directory exists. + * + * @param string $path + * @return bool + * @static + */ + public static function exists($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->exists($path); + } + + /** + * Determine if a file or directory is missing. + * + * @param string $path + * @return bool + * @static + */ + public static function missing($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->missing($path); + } + + /** + * Get the contents of a file. + * + * @param string $path + * @param bool $lock + * @return string + * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException + * @static + */ + public static function get($path, $lock = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->get($path, $lock); + } + + /** + * Get the contents of a file as decoded JSON. + * + * @param string $path + * @param int $flags + * @param bool $lock + * @return array + * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException + * @static + */ + public static function json($path, $flags = 0, $lock = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->json($path, $flags, $lock); + } + + /** + * Get contents of a file with shared access. + * + * @param string $path + * @return string + * @static + */ + public static function sharedGet($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->sharedGet($path); + } + + /** + * Get the returned value of a file. + * + * @param string $path + * @param array $data + * @return mixed + * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException + * @static + */ + public static function getRequire($path, $data = []) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->getRequire($path, $data); + } + + /** + * Require the given file once. + * + * @param string $path + * @param array $data + * @return mixed + * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException + * @static + */ + public static function requireOnce($path, $data = []) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->requireOnce($path, $data); + } + + /** + * Get the contents of a file one line at a time. + * + * @param string $path + * @return \Illuminate\Support\LazyCollection + * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException + * @static + */ + public static function lines($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->lines($path); + } + + /** + * Get the hash of the file at the given path. + * + * @param string $path + * @param string $algorithm + * @return string|false + * @static + */ + public static function hash($path, $algorithm = 'md5') + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->hash($path, $algorithm); + } + + /** + * Write the contents of a file. + * + * @param string $path + * @param string $contents + * @param bool $lock + * @return int|bool + * @static + */ + public static function put($path, $contents, $lock = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->put($path, $contents, $lock); + } + + /** + * Write the contents of a file, replacing it atomically if it already exists. + * + * @param string $path + * @param string $content + * @param int|null $mode + * @return void + * @static + */ + public static function replace($path, $content, $mode = null) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + $instance->replace($path, $content, $mode); + } + + /** + * Replace a given string within a given file. + * + * @param array|string $search + * @param array|string $replace + * @param string $path + * @return void + * @static + */ + public static function replaceInFile($search, $replace, $path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + $instance->replaceInFile($search, $replace, $path); + } + + /** + * Prepend to a file. + * + * @param string $path + * @param string $data + * @return int + * @static + */ + public static function prepend($path, $data) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->prepend($path, $data); + } + + /** + * Append to a file. + * + * @param string $path + * @param string $data + * @param bool $lock + * @return int + * @static + */ + public static function append($path, $data, $lock = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->append($path, $data, $lock); + } + + /** + * Get or set UNIX mode of a file or directory. + * + * @param string $path + * @param int|null $mode + * @return mixed + * @static + */ + public static function chmod($path, $mode = null) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->chmod($path, $mode); + } + + /** + * Delete the file at a given path. + * + * @param string|array $paths + * @return bool + * @static + */ + public static function delete($paths) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->delete($paths); + } + + /** + * Move a file to a new location. + * + * @param string $path + * @param string $target + * @return bool + * @static + */ + public static function move($path, $target) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->move($path, $target); + } + + /** + * Copy a file to a new location. + * + * @param string $path + * @param string $target + * @return bool + * @static + */ + public static function copy($path, $target) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->copy($path, $target); + } + + /** + * Create a symlink to the target file or directory. On Windows, a hard link is created if the target is a file. + * + * @param string $target + * @param string $link + * @return bool|null + * @static + */ + public static function link($target, $link) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->link($target, $link); + } + + /** + * Create a relative symlink to the target file or directory. + * + * @param string $target + * @param string $link + * @return void + * @throws \RuntimeException + * @static + */ + public static function relativeLink($target, $link) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + $instance->relativeLink($target, $link); + } + + /** + * Extract the file name from a file path. + * + * @param string $path + * @return string + * @static + */ + public static function name($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->name($path); + } + + /** + * Extract the trailing name component from a file path. + * + * @param string $path + * @return string + * @static + */ + public static function basename($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->basename($path); + } + + /** + * Extract the parent directory from a file path. + * + * @param string $path + * @return string + * @static + */ + public static function dirname($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->dirname($path); + } + + /** + * Extract the file extension from a file path. + * + * @param string $path + * @return string + * @static + */ + public static function extension($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->extension($path); + } + + /** + * Guess the file extension from the mime-type of a given file. + * + * @param string $path + * @return string|null + * @throws \RuntimeException + * @static + */ + public static function guessExtension($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->guessExtension($path); + } + + /** + * Get the file type of a given file. + * + * @param string $path + * @return string + * @static + */ + public static function type($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->type($path); + } + + /** + * Get the mime-type of a given file. + * + * @param string $path + * @return string|false + * @static + */ + public static function mimeType($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->mimeType($path); + } + + /** + * Get the file size of a given file. + * + * @param string $path + * @return int + * @static + */ + public static function size($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->size($path); + } + + /** + * Get the file's last modification time. + * + * @param string $path + * @return int + * @static + */ + public static function lastModified($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->lastModified($path); + } + + /** + * Determine if the given path is a directory. + * + * @param string $directory + * @return bool + * @static + */ + public static function isDirectory($directory) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->isDirectory($directory); + } + + /** + * Determine if the given path is a directory that does not contain any other files or directories. + * + * @param string $directory + * @param bool $ignoreDotFiles + * @return bool + * @static + */ + public static function isEmptyDirectory($directory, $ignoreDotFiles = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->isEmptyDirectory($directory, $ignoreDotFiles); + } + + /** + * Determine if the given path is readable. + * + * @param string $path + * @return bool + * @static + */ + public static function isReadable($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->isReadable($path); + } + + /** + * Determine if the given path is writable. + * + * @param string $path + * @return bool + * @static + */ + public static function isWritable($path) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->isWritable($path); + } + + /** + * Determine if two files are the same by comparing their hashes. + * + * @param string $firstFile + * @param string $secondFile + * @return bool + * @static + */ + public static function hasSameHash($firstFile, $secondFile) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->hasSameHash($firstFile, $secondFile); + } + + /** + * Determine if the given path is a file. + * + * @param string $file + * @return bool + * @static + */ + public static function isFile($file) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->isFile($file); + } + + /** + * Find path names matching a given pattern. + * + * @param string $pattern + * @param int $flags + * @return array + * @static + */ + public static function glob($pattern, $flags = 0) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->glob($pattern, $flags); + } + + /** + * Get an array of all files in a directory. + * + * @param string $directory + * @param bool $hidden + * @return \Symfony\Component\Finder\SplFileInfo[] + * @static + */ + public static function files($directory, $hidden = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->files($directory, $hidden); + } + + /** + * Get all of the files from the given directory (recursive). + * + * @param string $directory + * @param bool $hidden + * @return \Symfony\Component\Finder\SplFileInfo[] + * @static + */ + public static function allFiles($directory, $hidden = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->allFiles($directory, $hidden); + } + + /** + * Get all of the directories within a given directory. + * + * @param string $directory + * @return array + * @static + */ + public static function directories($directory) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->directories($directory); + } + + /** + * Ensure a directory exists. + * + * @param string $path + * @param int $mode + * @param bool $recursive + * @return void + * @static + */ + public static function ensureDirectoryExists($path, $mode = 493, $recursive = true) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + $instance->ensureDirectoryExists($path, $mode, $recursive); + } + + /** + * Create a directory. + * + * @param string $path + * @param int $mode + * @param bool $recursive + * @param bool $force + * @return bool + * @static + */ + public static function makeDirectory($path, $mode = 493, $recursive = false, $force = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->makeDirectory($path, $mode, $recursive, $force); + } + + /** + * Move a directory. + * + * @param string $from + * @param string $to + * @param bool $overwrite + * @return bool + * @static + */ + public static function moveDirectory($from, $to, $overwrite = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->moveDirectory($from, $to, $overwrite); + } + + /** + * Copy a directory from one location to another. + * + * @param string $directory + * @param string $destination + * @param int|null $options + * @return bool + * @static + */ + public static function copyDirectory($directory, $destination, $options = null) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->copyDirectory($directory, $destination, $options); + } + + /** + * Recursively delete a directory. + * + * The directory itself may be optionally preserved. + * + * @param string $directory + * @param bool $preserve + * @return bool + * @static + */ + public static function deleteDirectory($directory, $preserve = false) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->deleteDirectory($directory, $preserve); + } + + /** + * Remove all of the directories within a given directory. + * + * @param string $directory + * @return bool + * @static + */ + public static function deleteDirectories($directory) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->deleteDirectories($directory); + } + + /** + * Empty the specified directory of all files and folders. + * + * @param string $directory + * @return bool + * @static + */ + public static function cleanDirectory($directory) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->cleanDirectory($directory); + } + + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|TWhenReturnType + * @static + */ + public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->when($value, $callback, $default); + } + + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|TUnlessReturnType + * @static + */ + public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->unless($value, $callback, $default); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Filesystem\Filesystem::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Filesystem\Filesystem::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Filesystem\Filesystem::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Filesystem\Filesystem::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Auth\Access\Gate + */ + class Gate { + /** + * Determine if a given ability has been defined. + * + * @param string|array $ability + * @return bool + * @static + */ + public static function has($ability) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->has($ability); + } + + /** + * Perform an on-demand authorization check. Throw an authorization exception if the condition or callback is false. + * + * @param \Illuminate\Auth\Access\Response|\Closure|bool $condition + * @param string|null $message + * @param string|null $code + * @return \Illuminate\Auth\Access\Response + * @throws \Illuminate\Auth\Access\AuthorizationException + * @static + */ + public static function allowIf($condition, $message = null, $code = null) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->allowIf($condition, $message, $code); + } + + /** + * Perform an on-demand authorization check. Throw an authorization exception if the condition or callback is true. + * + * @param \Illuminate\Auth\Access\Response|\Closure|bool $condition + * @param string|null $message + * @param string|null $code + * @return \Illuminate\Auth\Access\Response + * @throws \Illuminate\Auth\Access\AuthorizationException + * @static + */ + public static function denyIf($condition, $message = null, $code = null) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->denyIf($condition, $message, $code); + } + + /** + * Define a new ability. + * + * @param \UnitEnum|string $ability + * @param callable|array|string $callback + * @return \Illuminate\Auth\Access\Gate + * @throws \InvalidArgumentException + * @static + */ + public static function define($ability, $callback) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->define($ability, $callback); + } + + /** + * Define abilities for a resource. + * + * @param string $name + * @param string $class + * @param array|null $abilities + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function resource($name, $class, $abilities = null) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->resource($name, $class, $abilities); + } + + /** + * Define a policy class for a given class type. + * + * @param string $class + * @param string $policy + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function policy($class, $policy) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->policy($class, $policy); + } + + /** + * Register a callback to run before all Gate checks. + * + * @param callable $callback + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function before($callback) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->before($callback); + } + + /** + * Register a callback to run after all Gate checks. + * + * @param callable $callback + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function after($callback) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->after($callback); + } + + /** + * Determine if all of the given abilities should be granted for the current user. + * + * @param iterable|\UnitEnum|string $ability + * @param array|mixed $arguments + * @return bool + * @static + */ + public static function allows($ability, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->allows($ability, $arguments); + } + + /** + * Determine if any of the given abilities should be denied for the current user. + * + * @param iterable|\UnitEnum|string $ability + * @param array|mixed $arguments + * @return bool + * @static + */ + public static function denies($ability, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->denies($ability, $arguments); + } + + /** + * Determine if all of the given abilities should be granted for the current user. + * + * @param iterable|\UnitEnum|string $abilities + * @param array|mixed $arguments + * @return bool + * @static + */ + public static function check($abilities, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->check($abilities, $arguments); + } + + /** + * Determine if any one of the given abilities should be granted for the current user. + * + * @param iterable|\UnitEnum|string $abilities + * @param array|mixed $arguments + * @return bool + * @static + */ + public static function any($abilities, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->any($abilities, $arguments); + } + + /** + * Determine if all of the given abilities should be denied for the current user. + * + * @param iterable|\UnitEnum|string $abilities + * @param array|mixed $arguments + * @return bool + * @static + */ + public static function none($abilities, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->none($abilities, $arguments); + } + + /** + * Determine if the given ability should be granted for the current user. + * + * @param \UnitEnum|string $ability + * @param array|mixed $arguments + * @return \Illuminate\Auth\Access\Response + * @throws \Illuminate\Auth\Access\AuthorizationException + * @static + */ + public static function authorize($ability, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->authorize($ability, $arguments); + } + + /** + * Inspect the user for the given ability. + * + * @param \UnitEnum|string $ability + * @param array|mixed $arguments + * @return \Illuminate\Auth\Access\Response + * @static + */ + public static function inspect($ability, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->inspect($ability, $arguments); + } + + /** + * Get the raw result from the authorization callback. + * + * @param string $ability + * @param array|mixed $arguments + * @return mixed + * @throws \Illuminate\Auth\Access\AuthorizationException + * @static + */ + public static function raw($ability, $arguments = []) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->raw($ability, $arguments); + } + + /** + * Get a policy instance for a given class. + * + * @param object|string $class + * @return mixed + * @static + */ + public static function getPolicyFor($class) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->getPolicyFor($class); + } + + /** + * Specify a callback to be used to guess policy names. + * + * @param callable $callback + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function guessPolicyNamesUsing($callback) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->guessPolicyNamesUsing($callback); + } + + /** + * Build a policy class instance of the given type. + * + * @param object|string $class + * @return mixed + * @throws \Illuminate\Contracts\Container\BindingResolutionException + * @static + */ + public static function resolvePolicy($class) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->resolvePolicy($class); + } + + /** + * Get a gate instance for the given user. + * + * @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user + * @return static + * @static + */ + public static function forUser($user) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->forUser($user); + } + + /** + * Get all of the defined abilities. + * + * @return array + * @static + */ + public static function abilities() + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->abilities(); + } + + /** + * Get all of the defined policies. + * + * @return array + * @static + */ + public static function policies() + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->policies(); + } + + /** + * Set the default denial response for gates and policies. + * + * @param \Illuminate\Auth\Access\Response $response + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function defaultDenialResponse($response) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->defaultDenialResponse($response); + } + + /** + * Set the container instance used by the gate. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Illuminate\Auth\Access\Gate + * @static + */ + public static function setContainer($container) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->setContainer($container); + } + + /** + * Deny with a HTTP status code. + * + * @param int $status + * @param string|null $message + * @param int|null $code + * @return \Illuminate\Auth\Access\Response + * @static + */ + public static function denyWithStatus($status, $message = null, $code = null) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->denyWithStatus($status, $message, $code); + } + + /** + * Deny with a 404 HTTP status code. + * + * @param string|null $message + * @param int|null $code + * @return \Illuminate\Auth\Access\Response + * @static + */ + public static function denyAsNotFound($message = null, $code = null) + { + /** @var \Illuminate\Auth\Access\Gate $instance */ + return $instance->denyAsNotFound($message, $code); + } + + } + /** + * + * + * @see \Illuminate\Hashing\HashManager + * @see \Illuminate\Hashing\AbstractHasher + */ + class Hash { + /** + * Create an instance of the Bcrypt hash Driver. + * + * @return \Illuminate\Hashing\BcryptHasher + * @static + */ + public static function createBcryptDriver() + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->createBcryptDriver(); + } + + /** + * Create an instance of the Argon2i hash Driver. + * + * @return \Illuminate\Hashing\ArgonHasher + * @static + */ + public static function createArgonDriver() + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->createArgonDriver(); + } + + /** + * Create an instance of the Argon2id hash Driver. + * + * @return \Illuminate\Hashing\Argon2IdHasher + * @static + */ + public static function createArgon2idDriver() + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->createArgon2idDriver(); + } + + /** + * Get information about the given hashed value. + * + * @param string $hashedValue + * @return array + * @static + */ + public static function info($hashedValue) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->info($hashedValue); + } + + /** + * Hash the given value. + * + * @param string $value + * @param array $options + * @return string + * @static + */ + public static function make($value, $options = []) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->make($value, $options); + } + + /** + * Check the given plain value against a hash. + * + * @param string $value + * @param string $hashedValue + * @param array $options + * @return bool + * @static + */ + public static function check($value, $hashedValue, $options = []) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->check($value, $hashedValue, $options); + } + + /** + * Check if the given hash has been hashed using the given options. + * + * @param string $hashedValue + * @param array $options + * @return bool + * @static + */ + public static function needsRehash($hashedValue, $options = []) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->needsRehash($hashedValue, $options); + } + + /** + * Determine if a given string is already hashed. + * + * @param string $value + * @return bool + * @static + */ + public static function isHashed($value) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->isHashed($value); + } + + /** + * Get the default driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Verifies that the configuration is less than or equal to what is configured. + * + * @param array $value + * @return bool + * @internal + * @static + */ + public static function verifyConfiguration($value) + { + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->verifyConfiguration($value); + } + + /** + * Get a driver instance. + * + * @param string|null $driver + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function driver($driver = null) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->driver($driver); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Hashing\HashManager + * @static + */ + public static function extend($driver, $callback) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Get all of the created "drivers". + * + * @return array + * @static + */ + public static function getDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->getDrivers(); + } + + /** + * Get the container instance used by the manager. + * + * @return \Illuminate\Contracts\Container\Container + * @static + */ + public static function getContainer() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->getContainer(); + } + + /** + * Set the container instance used by the manager. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Illuminate\Hashing\HashManager + * @static + */ + public static function setContainer($container) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->setContainer($container); + } + + /** + * Forget all of the resolved driver instances. + * + * @return \Illuminate\Hashing\HashManager + * @static + */ + public static function forgetDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Hashing\HashManager $instance */ + return $instance->forgetDrivers(); + } + + } + /** + * + * + * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) + * @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json') + * @method static \Illuminate\Http\Client\PendingRequest asJson() + * @method static \Illuminate\Http\Client\PendingRequest asForm() + * @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = []) + * @method static \Illuminate\Http\Client\PendingRequest asMultipart() + * @method static \Illuminate\Http\Client\PendingRequest bodyFormat(string $format) + * @method static \Illuminate\Http\Client\PendingRequest withQueryParameters(array $parameters) + * @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType) + * @method static \Illuminate\Http\Client\PendingRequest acceptJson() + * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) + * @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers) + * @method static \Illuminate\Http\Client\PendingRequest withHeader(string $name, mixed $value) + * @method static \Illuminate\Http\Client\PendingRequest replaceHeaders(array $headers) + * @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password) + * @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password) + * @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer') + * @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string|bool $userAgent) + * @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = []) + * @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain) + * @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max) + * @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting() + * @method static \Illuminate\Http\Client\PendingRequest withoutVerifying() + * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) + * @method static \Illuminate\Http\Client\PendingRequest timeout(int|float $seconds) + * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int|float $seconds) + * @method static \Illuminate\Http\Client\PendingRequest retry(array|int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) + * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) + * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) + * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest throwUnless(callable|bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest dump() + * @method static \Illuminate\Http\Client\PendingRequest dd() + * @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response post(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response patch(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response put(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response delete(string $url, array $data = []) + * @method static array pool(callable $callback) + * @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = []) + * @method static \GuzzleHttp\Client buildClient() + * @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \GuzzleHttp\HandlerStack buildHandlerStack() + * @method static \GuzzleHttp\HandlerStack pushHandlers(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \Closure buildBeforeSendingHandler() + * @method static \Closure buildRecorderHandler() + * @method static \Closure buildStubHandler() + * @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options) + * @method static array mergeOptions(array ...$options) + * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true) + * @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise() + * @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client) + * @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler) + * @method static array getOptions() + * @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @see \Illuminate\Http\Client\Factory + */ + class Http { + /** + * Add middleware to apply to every request. + * + * @param callable $middleware + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function globalMiddleware($middleware) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->globalMiddleware($middleware); + } + + /** + * Add request middleware to apply to every request. + * + * @param callable $middleware + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function globalRequestMiddleware($middleware) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->globalRequestMiddleware($middleware); + } + + /** + * Add response middleware to apply to every request. + * + * @param callable $middleware + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function globalResponseMiddleware($middleware) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->globalResponseMiddleware($middleware); + } + + /** + * Set the options to apply to every request. + * + * @param \Closure|array $options + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function globalOptions($options) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->globalOptions($options); + } + + /** + * Create a new response instance for use during stubbing. + * + * @param array|string|null $body + * @param int $status + * @param array $headers + * @return \GuzzleHttp\Promise\PromiseInterface + * @static + */ + public static function response($body = null, $status = 200, $headers = []) + { + return \Illuminate\Http\Client\Factory::response($body, $status, $headers); + } + + /** + * Create a new connection exception for use during stubbing. + * + * @param string|null $message + * @return \GuzzleHttp\Promise\PromiseInterface + * @static + */ + public static function failedConnection($message = null) + { + return \Illuminate\Http\Client\Factory::failedConnection($message); + } + + /** + * Get an invokable object that returns a sequence of responses in order for use during stubbing. + * + * @param array $responses + * @return \Illuminate\Http\Client\ResponseSequence + * @static + */ + public static function sequence($responses = []) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->sequence($responses); + } + + /** + * Register a stub callable that will intercept requests and be able to return stub responses. + * + * @param callable|array|null $callback + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function fake($callback = null) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->fake($callback); + } + + /** + * Register a response sequence for the given URL pattern. + * + * @param string $url + * @return \Illuminate\Http\Client\ResponseSequence + * @static + */ + public static function fakeSequence($url = '*') + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->fakeSequence($url); + } + + /** + * Stub the given URL using the given callback. + * + * @param string $url + * @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable|int|string|array $callback + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function stubUrl($url, $callback) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->stubUrl($url, $callback); + } + + /** + * Indicate that an exception should be thrown if any request is not faked. + * + * @param bool $prevent + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function preventStrayRequests($prevent = true) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->preventStrayRequests($prevent); + } + + /** + * Determine if stray requests are being prevented. + * + * @return bool + * @static + */ + public static function preventingStrayRequests() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->preventingStrayRequests(); + } + + /** + * Indicate that an exception should not be thrown if any request is not faked. + * + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function allowStrayRequests() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->allowStrayRequests(); + } + + /** + * Record a request response pair. + * + * @param \Illuminate\Http\Client\Request $request + * @param \Illuminate\Http\Client\Response|null $response + * @return void + * @static + */ + public static function recordRequestResponsePair($request, $response) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->recordRequestResponsePair($request, $response); + } + + /** + * Assert that a request / response pair was recorded matching a given truth test. + * + * @param callable $callback + * @return void + * @static + */ + public static function assertSent($callback) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertSent($callback); + } + + /** + * Assert that the given request was sent in the given order. + * + * @param array $callbacks + * @return void + * @static + */ + public static function assertSentInOrder($callbacks) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertSentInOrder($callbacks); + } + + /** + * Assert that a request / response pair was not recorded matching a given truth test. + * + * @param callable $callback + * @return void + * @static + */ + public static function assertNotSent($callback) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertNotSent($callback); + } + + /** + * Assert that no request / response pair was recorded. + * + * @return void + * @static + */ + public static function assertNothingSent() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertNothingSent(); + } + + /** + * Assert how many requests have been recorded. + * + * @param int $count + * @return void + * @static + */ + public static function assertSentCount($count) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertSentCount($count); + } + + /** + * Assert that every created response sequence is empty. + * + * @return void + * @static + */ + public static function assertSequencesAreEmpty() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + $instance->assertSequencesAreEmpty(); + } + + /** + * Get a collection of the request / response pairs matching the given truth test. + * + * @param callable $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function recorded($callback = null) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->recorded($callback); + } + + /** + * Create a new pending request instance for this factory. + * + * @return \Illuminate\Http\Client\PendingRequest + * @static + */ + public static function createPendingRequest() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->createPendingRequest(); + } + + /** + * Get the current event dispatcher implementation. + * + * @return \Illuminate\Contracts\Events\Dispatcher|null + * @static + */ + public static function getDispatcher() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->getDispatcher(); + } + + /** + * Get the array of global middleware. + * + * @return array + * @static + */ + public static function getGlobalMiddleware() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->getGlobalMiddleware(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Http\Client\Factory::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Http\Client\Factory::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Http\Client\Factory::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Http\Client\Factory::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->macroCall($method, $parameters); + } + + } + /** + * + * + * @see \Illuminate\Translation\Translator + */ + class Lang { + /** + * Determine if a translation exists for a given locale. + * + * @param string $key + * @param string|null $locale + * @return bool + * @static + */ + public static function hasForLocale($key, $locale = null) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->hasForLocale($key, $locale); + } + + /** + * Determine if a translation exists. + * + * @param string $key + * @param string|null $locale + * @param bool $fallback + * @return bool + * @static + */ + public static function has($key, $locale = null, $fallback = true) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->has($key, $locale, $fallback); + } + + /** + * Get the translation for the given key. + * + * @param string $key + * @param array $replace + * @param string|null $locale + * @param bool $fallback + * @return string|array + * @static + */ + public static function get($key, $replace = [], $locale = null, $fallback = true) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->get($key, $replace, $locale, $fallback); + } + + /** + * Get a translation according to an integer value. + * + * @param string $key + * @param \Countable|int|float|array $number + * @param array $replace + * @param string|null $locale + * @return string + * @static + */ + public static function choice($key, $number, $replace = [], $locale = null) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->choice($key, $number, $replace, $locale); + } + + /** + * Add translation lines to the given locale. + * + * @param array $lines + * @param string $locale + * @param string $namespace + * @return void + * @static + */ + public static function addLines($lines, $locale, $namespace = '*') + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->addLines($lines, $locale, $namespace); + } + + /** + * Load the specified language group. + * + * @param string $namespace + * @param string $group + * @param string $locale + * @return void + * @static + */ + public static function load($namespace, $group, $locale) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->load($namespace, $group, $locale); + } + + /** + * Register a callback that is responsible for handling missing translation keys. + * + * @param callable|null $callback + * @return static + * @static + */ + public static function handleMissingKeysUsing($callback) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->handleMissingKeysUsing($callback); + } + + /** + * Add a new namespace to the loader. + * + * @param string $namespace + * @param string $hint + * @return void + * @static + */ + public static function addNamespace($namespace, $hint) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->addNamespace($namespace, $hint); + } + + /** + * Add a new path to the loader. + * + * @param string $path + * @return void + * @static + */ + public static function addPath($path) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->addPath($path); + } + + /** + * Add a new JSON path to the loader. + * + * @param string $path + * @return void + * @static + */ + public static function addJsonPath($path) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->addJsonPath($path); + } + + /** + * Parse a key into namespace, group, and item. + * + * @param string $key + * @return array + * @static + */ + public static function parseKey($key) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->parseKey($key); + } + + /** + * Specify a callback that should be invoked to determined the applicable locale array. + * + * @param callable $callback + * @return void + * @static + */ + public static function determineLocalesUsing($callback) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->determineLocalesUsing($callback); + } + + /** + * Get the message selector instance. + * + * @return \Illuminate\Translation\MessageSelector + * @static + */ + public static function getSelector() + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->getSelector(); + } + + /** + * Set the message selector instance. + * + * @param \Illuminate\Translation\MessageSelector $selector + * @return void + * @static + */ + public static function setSelector($selector) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->setSelector($selector); + } + + /** + * Get the language line loader implementation. + * + * @return \Illuminate\Contracts\Translation\Loader + * @static + */ + public static function getLoader() + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->getLoader(); + } + + /** + * Get the default locale being used. + * + * @return string + * @static + */ + public static function locale() + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->locale(); + } + + /** + * Get the default locale being used. + * + * @return string + * @static + */ + public static function getLocale() + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->getLocale(); + } + + /** + * Set the default locale. + * + * @param string $locale + * @return void + * @throws \InvalidArgumentException + * @static + */ + public static function setLocale($locale) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->setLocale($locale); + } + + /** + * Get the fallback locale being used. + * + * @return string + * @static + */ + public static function getFallback() + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->getFallback(); + } + + /** + * Set the fallback locale being used. + * + * @param string $fallback + * @return void + * @static + */ + public static function setFallback($fallback) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->setFallback($fallback); + } + + /** + * Set the loaded translation groups. + * + * @param array $loaded + * @return void + * @static + */ + public static function setLoaded($loaded) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->setLoaded($loaded); + } + + /** + * Add a handler to be executed in order to format a given class to a string during translation replacements. + * + * @param callable|string $class + * @param callable|null $handler + * @return void + * @static + */ + public static function stringable($class, $handler = null) + { + /** @var \Illuminate\Translation\Translator $instance */ + $instance->stringable($class, $handler); + } + + /** + * Set the parsed value of a key. + * + * @param string $key + * @param array $parsed + * @return void + * @static + */ + public static function setParsedKey($key, $parsed) + { + //Method inherited from \Illuminate\Support\NamespacedItemResolver + /** @var \Illuminate\Translation\Translator $instance */ + $instance->setParsedKey($key, $parsed); + } + + /** + * Flush the cache of parsed keys. + * + * @return void + * @static + */ + public static function flushParsedKeys() + { + //Method inherited from \Illuminate\Support\NamespacedItemResolver + /** @var \Illuminate\Translation\Translator $instance */ + $instance->flushParsedKeys(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Translation\Translator::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Translation\Translator::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Translation\Translator::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Translation\Translator::flushMacros(); + } + + } + /** + * + * + * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) + * @method static \Illuminate\Log\Logger withContext(array $context = []) + * @method static void listen(\Closure $callback) + * @method static \Psr\Log\LoggerInterface getLogger() + * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher) + * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @see \Illuminate\Log\LogManager + */ + class Log { + /** + * Build an on-demand log channel. + * + * @param array $config + * @return \Psr\Log\LoggerInterface + * @static + */ + public static function build($config) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->build($config); + } + + /** + * Create a new, on-demand aggregate logger instance. + * + * @param array $channels + * @param string|null $channel + * @return \Psr\Log\LoggerInterface + * @static + */ + public static function stack($channels, $channel = null) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->stack($channels, $channel); + } + + /** + * Get a log channel instance. + * + * @param string|null $channel + * @return \Psr\Log\LoggerInterface + * @static + */ + public static function channel($channel = null) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->channel($channel); + } + + /** + * Get a log driver instance. + * + * @param string|null $driver + * @return \Psr\Log\LoggerInterface + * @static + */ + public static function driver($driver = null) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->driver($driver); + } + + /** + * Share context across channels and stacks. + * + * @param array $context + * @return \Illuminate\Log\LogManager + * @static + */ + public static function shareContext($context) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->shareContext($context); + } + + /** + * The context shared across channels and stacks. + * + * @return array + * @static + */ + public static function sharedContext() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->sharedContext(); + } + + /** + * Flush the log context on all currently resolved channels. + * + * @return \Illuminate\Log\LogManager + * @static + */ + public static function withoutContext() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->withoutContext(); + } + + /** + * Flush the shared context. + * + * @return \Illuminate\Log\LogManager + * @static + */ + public static function flushSharedContext() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->flushSharedContext(); + } + + /** + * Get the default log driver name. + * + * @return string|null + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default log driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Log\LogManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Unset the given channel instance. + * + * @param string|null $driver + * @return void + * @static + */ + public static function forgetChannel($driver = null) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->forgetChannel($driver); + } + + /** + * Get all of the resolved log channels. + * + * @return array + * @static + */ + public static function getChannels() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->getChannels(); + } + + /** + * System is unusable. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function emergency($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->emergency($message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function alert($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->alert($message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function critical($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->critical($message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function error($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->error($message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function warning($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->warning($message, $context); + } + + /** + * Normal but significant events. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function notice($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->notice($message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function info($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->info($message, $context); + } + + /** + * Detailed debug information. + * + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function debug($message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->debug($message, $context); + } + + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string|\Stringable $message + * @param array $context + * @return void + * @static + */ + public static function log($level, $message, $context = []) + { + /** @var \Illuminate\Log\LogManager $instance */ + $instance->log($level, $message, $context); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Log\LogManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->setApplication($app); + } + + } + /** + * + * + * @method static void alwaysFrom(string $address, string|null $name = null) + * @method static void alwaysReplyTo(string $address, string|null $name = null) + * @method static void alwaysReturnPath(string $address) + * @method static void alwaysTo(string $address, string|null $name = null) + * @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback) + * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback) + * @method static string render(string|array $view, array $data = []) + * @method static mixed onQueue(\BackedEnum|string|null $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view) + * @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport() + * @method static \Illuminate\Contracts\View\Factory getViewFactory() + * @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport) + * @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue) + * @method static void macro(string $name, object|callable $macro) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @see \Illuminate\Mail\MailManager + * @see \Illuminate\Support\Testing\Fakes\MailFake + */ + class Mail { + /** + * Get a mailer instance by name. + * + * @param string|null $name + * @return \Illuminate\Contracts\Mail\Mailer + * @static + */ + public static function mailer($name = null) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->mailer($name); + } + + /** + * Get a mailer driver instance. + * + * @param string|null $driver + * @return \Illuminate\Mail\Mailer + * @static + */ + public static function driver($driver = null) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->driver($driver); + } + + /** + * Build a new mailer instance. + * + * @param array $config + * @return \Illuminate\Mail\Mailer + * @static + */ + public static function build($config) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->build($config); + } + + /** + * Create a new transport instance. + * + * @param array $config + * @return \Symfony\Component\Mailer\Transport\TransportInterface + * @throws \InvalidArgumentException + * @static + */ + public static function createSymfonyTransport($config) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->createSymfonyTransport($config); + } + + /** + * Get the default mail driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default mail driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Mail\MailManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Disconnect the given mailer and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + /** @var \Illuminate\Mail\MailManager $instance */ + $instance->purge($name); + } + + /** + * Register a custom transport creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Mail\MailManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Get the application instance used by the manager. + * + * @return \Illuminate\Contracts\Foundation\Application + * @static + */ + public static function getApplication() + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->getApplication(); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Mail\MailManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->setApplication($app); + } + + /** + * Forget all of the resolved mailer instances. + * + * @return \Illuminate\Mail\MailManager + * @static + */ + public static function forgetMailers() + { + /** @var \Illuminate\Mail\MailManager $instance */ + return $instance->forgetMailers(); + } + + /** + * Assert if a mailable was sent based on a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|array|string|int|null $callback + * @return void + * @static + */ + public static function assertSent($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertSent($mailable, $callback); + } + + /** + * Determine if a mailable was not sent or queued to be sent based on a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotOutgoing($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNotOutgoing($mailable, $callback); + } + + /** + * Determine if a mailable was not sent based on a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|array|string|null $callback + * @return void + * @static + */ + public static function assertNotSent($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNotSent($mailable, $callback); + } + + /** + * Assert that no mailables were sent or queued to be sent. + * + * @return void + * @static + */ + public static function assertNothingOutgoing() + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNothingOutgoing(); + } + + /** + * Assert that no mailables were sent. + * + * @return void + * @static + */ + public static function assertNothingSent() + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNothingSent(); + } + + /** + * Assert if a mailable was queued based on a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|array|string|int|null $callback + * @return void + * @static + */ + public static function assertQueued($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertQueued($mailable, $callback); + } + + /** + * Determine if a mailable was not queued based on a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|array|string|null $callback + * @return void + * @static + */ + public static function assertNotQueued($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNotQueued($mailable, $callback); + } + + /** + * Assert that no mailables were queued. + * + * @return void + * @static + */ + public static function assertNothingQueued() + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertNothingQueued(); + } + + /** + * Assert the total number of mailables that were sent. + * + * @param int $count + * @return void + * @static + */ + public static function assertSentCount($count) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertSentCount($count); + } + + /** + * Assert the total number of mailables that were queued. + * + * @param int $count + * @return void + * @static + */ + public static function assertQueuedCount($count) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertQueuedCount($count); + } + + /** + * Assert the total number of mailables that were sent or queued. + * + * @param int $count + * @return void + * @static + */ + public static function assertOutgoingCount($count) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertOutgoingCount($count); + } + + /** + * Get all of the mailables matching a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function sent($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->sent($mailable, $callback); + } + + /** + * Determine if the given mailable has been sent. + * + * @param string $mailable + * @return bool + * @static + */ + public static function hasSent($mailable) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->hasSent($mailable); + } + + /** + * Get all of the queued mailables matching a truth-test callback. + * + * @param string|\Closure $mailable + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function queued($mailable, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->queued($mailable, $callback); + } + + /** + * Determine if the given mailable has been queued. + * + * @param string $mailable + * @return bool + * @static + */ + public static function hasQueued($mailable) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->hasQueued($mailable); + } + + /** + * Begin the process of mailing a mailable class instance. + * + * @param mixed $users + * @return \Illuminate\Mail\PendingMail + * @static + */ + public static function to($users) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->to($users); + } + + /** + * Begin the process of mailing a mailable class instance. + * + * @param mixed $users + * @return \Illuminate\Mail\PendingMail + * @static + */ + public static function cc($users) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->cc($users); + } + + /** + * Begin the process of mailing a mailable class instance. + * + * @param mixed $users + * @return \Illuminate\Mail\PendingMail + * @static + */ + public static function bcc($users) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->bcc($users); + } + + /** + * Send a new message with only a raw text part. + * + * @param string $text + * @param \Closure|string $callback + * @return void + * @static + */ + public static function raw($text, $callback) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->raw($text, $callback); + } + + /** + * Send a new message using a view. + * + * @param \Illuminate\Contracts\Mail\Mailable|string|array $view + * @param array $data + * @param \Closure|string|null $callback + * @return mixed|void + * @static + */ + public static function send($view, $data = [], $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->send($view, $data, $callback); + } + + /** + * Send a new message synchronously using a view. + * + * @param \Illuminate\Contracts\Mail\Mailable|string|array $mailable + * @param array $data + * @param \Closure|string|null $callback + * @return void + * @static + */ + public static function sendNow($mailable, $data = [], $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->sendNow($mailable, $data, $callback); + } + + /** + * Queue a new message for sending. + * + * @param \Illuminate\Contracts\Mail\Mailable|string|array $view + * @param string|null $queue + * @return mixed + * @static + */ + public static function queue($view, $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->queue($view, $queue); + } + + /** + * Queue a new e-mail message for sending after (n) seconds. + * + * @param \DateTimeInterface|\DateInterval|int $delay + * @param \Illuminate\Contracts\Mail\Mailable|string|array $view + * @param string|null $queue + * @return mixed + * @static + */ + public static function later($delay, $view, $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + return $instance->later($delay, $view, $queue); + } + + } + /** + * + * + * @see \Illuminate\Notifications\ChannelManager + * @see \Illuminate\Support\Testing\Fakes\NotificationFake + */ + class Notification { + /** + * Send the given notification to the given notifiable entities. + * + * @param \Illuminate\Support\Collection|array|mixed $notifiables + * @param mixed $notification + * @return void + * @static + */ + public static function send($notifiables, $notification) + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + $instance->send($notifiables, $notification); + } + + /** + * Send the given notification immediately. + * + * @param \Illuminate\Support\Collection|array|mixed $notifiables + * @param mixed $notification + * @param array|null $channels + * @return void + * @static + */ + public static function sendNow($notifiables, $notification, $channels = null) + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + $instance->sendNow($notifiables, $notification, $channels); + } + + /** + * Get a channel instance. + * + * @param string|null $name + * @return mixed + * @static + */ + public static function channel($name = null) + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->channel($name); + } + + /** + * Get the default channel driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Get the default channel driver name. + * + * @return string + * @static + */ + public static function deliversVia() + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->deliversVia(); + } + + /** + * Set the default channel driver name. + * + * @param string $channel + * @return void + * @static + */ + public static function deliverVia($channel) + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + $instance->deliverVia($channel); + } + + /** + * Set the locale of notifications. + * + * @param string $locale + * @return \Illuminate\Notifications\ChannelManager + * @static + */ + public static function locale($locale) + { + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->locale($locale); + } + + /** + * Get a driver instance. + * + * @param string|null $driver + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function driver($driver = null) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->driver($driver); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Notifications\ChannelManager + * @static + */ + public static function extend($driver, $callback) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Get all of the created "drivers". + * + * @return array + * @static + */ + public static function getDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->getDrivers(); + } + + /** + * Get the container instance used by the manager. + * + * @return \Illuminate\Contracts\Container\Container + * @static + */ + public static function getContainer() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->getContainer(); + } + + /** + * Set the container instance used by the manager. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Illuminate\Notifications\ChannelManager + * @static + */ + public static function setContainer($container) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->setContainer($container); + } + + /** + * Forget all of the resolved driver instances. + * + * @return \Illuminate\Notifications\ChannelManager + * @static + */ + public static function forgetDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Notifications\ChannelManager $instance */ + return $instance->forgetDrivers(); + } + + /** + * Assert if a notification was sent on-demand based on a truth-test callback. + * + * @param string|\Closure $notification + * @param callable|null $callback + * @return void + * @throws \Exception + * @static + */ + public static function assertSentOnDemand($notification, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertSentOnDemand($notification, $callback); + } + + /** + * Assert if a notification was sent based on a truth-test callback. + * + * @param mixed $notifiable + * @param string|\Closure $notification + * @param callable|null $callback + * @return void + * @throws \Exception + * @static + */ + public static function assertSentTo($notifiable, $notification, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertSentTo($notifiable, $notification, $callback); + } + + /** + * Assert if a notification was sent on-demand a number of times. + * + * @param string $notification + * @param int $times + * @return void + * @static + */ + public static function assertSentOnDemandTimes($notification, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertSentOnDemandTimes($notification, $times); + } + + /** + * Assert if a notification was sent a number of times. + * + * @param mixed $notifiable + * @param string $notification + * @param int $times + * @return void + * @static + */ + public static function assertSentToTimes($notifiable, $notification, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertSentToTimes($notifiable, $notification, $times); + } + + /** + * Determine if a notification was sent based on a truth-test callback. + * + * @param mixed $notifiable + * @param string|\Closure $notification + * @param callable|null $callback + * @return void + * @throws \Exception + * @static + */ + public static function assertNotSentTo($notifiable, $notification, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertNotSentTo($notifiable, $notification, $callback); + } + + /** + * Assert that no notifications were sent. + * + * @return void + * @static + */ + public static function assertNothingSent() + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertNothingSent(); + } + + /** + * Assert that no notifications were sent to the given notifiable. + * + * @param mixed $notifiable + * @return void + * @throws \Exception + * @static + */ + public static function assertNothingSentTo($notifiable) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertNothingSentTo($notifiable); + } + + /** + * Assert the total amount of times a notification was sent. + * + * @param string $notification + * @param int $expectedCount + * @return void + * @static + */ + public static function assertSentTimes($notification, $expectedCount) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertSentTimes($notification, $expectedCount); + } + + /** + * Assert the total count of notification that were sent. + * + * @param int $expectedCount + * @return void + * @static + */ + public static function assertCount($expectedCount) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + $instance->assertCount($expectedCount); + } + + /** + * Get all of the notifications matching a truth-test callback. + * + * @param mixed $notifiable + * @param string $notification + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function sent($notifiable, $notification, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + return $instance->sent($notifiable, $notification, $callback); + } + + /** + * Determine if there are more notifications left to inspect. + * + * @param mixed $notifiable + * @param string $notification + * @return bool + * @static + */ + public static function hasSent($notifiable, $notification) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + return $instance->hasSent($notifiable, $notification); + } + + /** + * Specify if notification should be serialized and restored when being "pushed" to the queue. + * + * @param bool $serializeAndRestore + * @return \Illuminate\Support\Testing\Fakes\NotificationFake + * @static + */ + public static function serializeAndRestore($serializeAndRestore = true) + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + return $instance->serializeAndRestore($serializeAndRestore); + } + + /** + * Get the notifications that have been sent. + * + * @return array + * @static + */ + public static function sentNotifications() + { + /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ + return $instance->sentNotifications(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Support\Testing\Fakes\NotificationFake::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Support\Testing\Fakes\NotificationFake::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Support\Testing\Fakes\NotificationFake::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Support\Testing\Fakes\NotificationFake::flushMacros(); + } + + } + /** + * + * + * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) + * @method static mixed reset(array $credentials, \Closure $callback) + * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) + * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user) + * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user) + * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) + * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() + * @method static \Illuminate\Support\Timebox getTimebox() + * @see \Illuminate\Auth\Passwords\PasswordBrokerManager + * @see \Illuminate\Auth\Passwords\PasswordBroker + */ + class Password { + /** + * Attempt to get the broker from the local cache. + * + * @param string|null $name + * @return \Illuminate\Contracts\Auth\PasswordBroker + * @static + */ + public static function broker($name = null) + { + /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ + return $instance->broker($name); + } + + /** + * Get the default password broker name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default password broker name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ + $instance->setDefaultDriver($name); + } + + } + /** + * + * + * @method static \Illuminate\Process\PendingProcess command(array|string $command) + * @method static \Illuminate\Process\PendingProcess path(string $path) + * @method static \Illuminate\Process\PendingProcess timeout(int $timeout) + * @method static \Illuminate\Process\PendingProcess idleTimeout(int $timeout) + * @method static \Illuminate\Process\PendingProcess forever() + * @method static \Illuminate\Process\PendingProcess env(array $environment) + * @method static \Illuminate\Process\PendingProcess input(\Traversable|resource|string|int|float|bool|null $input) + * @method static \Illuminate\Process\PendingProcess quietly() + * @method static \Illuminate\Process\PendingProcess tty(bool $tty = true) + * @method static \Illuminate\Process\PendingProcess options(array $options) + * @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null) + * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null) + * @method static bool supportsTty() + * @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers) + * @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @see \Illuminate\Process\PendingProcess + * @see \Illuminate\Process\Factory + */ + class Process { + /** + * Create a new fake process response for testing purposes. + * + * @param array|string $output + * @param array|string $errorOutput + * @param int $exitCode + * @return \Illuminate\Process\FakeProcessResult + * @static + */ + public static function result($output = '', $errorOutput = '', $exitCode = 0) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->result($output, $errorOutput, $exitCode); + } + + /** + * Begin describing a fake process lifecycle. + * + * @return \Illuminate\Process\FakeProcessDescription + * @static + */ + public static function describe() + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->describe(); + } + + /** + * Begin describing a fake process sequence. + * + * @param array $processes + * @return \Illuminate\Process\FakeProcessSequence + * @static + */ + public static function sequence($processes = []) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->sequence($processes); + } + + /** + * Indicate that the process factory should fake processes. + * + * @param \Closure|array|null $callback + * @return \Illuminate\Process\Factory + * @static + */ + public static function fake($callback = null) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->fake($callback); + } + + /** + * Determine if the process factory has fake process handlers and is recording processes. + * + * @return bool + * @static + */ + public static function isRecording() + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->isRecording(); + } + + /** + * Record the given process if processes should be recorded. + * + * @param \Illuminate\Process\PendingProcess $process + * @param \Illuminate\Contracts\Process\ProcessResult $result + * @return \Illuminate\Process\Factory + * @static + */ + public static function recordIfRecording($process, $result) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->recordIfRecording($process, $result); + } + + /** + * Record the given process. + * + * @param \Illuminate\Process\PendingProcess $process + * @param \Illuminate\Contracts\Process\ProcessResult $result + * @return \Illuminate\Process\Factory + * @static + */ + public static function record($process, $result) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->record($process, $result); + } + + /** + * Indicate that an exception should be thrown if any process is not faked. + * + * @param bool $prevent + * @return \Illuminate\Process\Factory + * @static + */ + public static function preventStrayProcesses($prevent = true) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->preventStrayProcesses($prevent); + } + + /** + * Determine if stray processes are being prevented. + * + * @return bool + * @static + */ + public static function preventingStrayProcesses() + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->preventingStrayProcesses(); + } + + /** + * Assert that a process was recorded matching a given truth test. + * + * @param \Closure|string $callback + * @return \Illuminate\Process\Factory + * @static + */ + public static function assertRan($callback) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->assertRan($callback); + } + + /** + * Assert that a process was recorded a given number of times matching a given truth test. + * + * @param \Closure|string $callback + * @param int $times + * @return \Illuminate\Process\Factory + * @static + */ + public static function assertRanTimes($callback, $times = 1) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->assertRanTimes($callback, $times); + } + + /** + * Assert that a process was not recorded matching a given truth test. + * + * @param \Closure|string $callback + * @return \Illuminate\Process\Factory + * @static + */ + public static function assertNotRan($callback) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->assertNotRan($callback); + } + + /** + * Assert that a process was not recorded matching a given truth test. + * + * @param \Closure|string $callback + * @return \Illuminate\Process\Factory + * @static + */ + public static function assertDidntRun($callback) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->assertDidntRun($callback); + } + + /** + * Assert that no processes were recorded. + * + * @return \Illuminate\Process\Factory + * @static + */ + public static function assertNothingRan() + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->assertNothingRan(); + } + + /** + * Start defining a pool of processes. + * + * @param callable $callback + * @return \Illuminate\Process\Pool + * @static + */ + public static function pool($callback) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->pool($callback); + } + + /** + * Start defining a series of piped processes. + * + * @param callable|array $callback + * @return \Illuminate\Contracts\Process\ProcessResult + * @static + */ + public static function pipe($callback, $output = null) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->pipe($callback, $output); + } + + /** + * Run a pool of processes and wait for them to finish executing. + * + * @param callable $callback + * @param callable|null $output + * @return \Illuminate\Process\ProcessPoolResults + * @static + */ + public static function concurrently($callback, $output = null) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->concurrently($callback, $output); + } + + /** + * Create a new pending process associated with this factory. + * + * @return \Illuminate\Process\PendingProcess + * @static + */ + public static function newPendingProcess() + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->newPendingProcess(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Process\Factory::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Process\Factory::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Process\Factory::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Process\Factory::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Process\Factory $instance */ + return $instance->macroCall($method, $parameters); + } + + } + /** + * + * + * @see \Illuminate\Queue\QueueManager + * @see \Illuminate\Queue\Queue + * @see \Illuminate\Support\Testing\Fakes\QueueFake + */ + class Queue { + /** + * Register an event listener for the before job event. + * + * @param mixed $callback + * @return void + * @static + */ + public static function before($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->before($callback); + } + + /** + * Register an event listener for the after job event. + * + * @param mixed $callback + * @return void + * @static + */ + public static function after($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->after($callback); + } + + /** + * Register an event listener for the exception occurred job event. + * + * @param mixed $callback + * @return void + * @static + */ + public static function exceptionOccurred($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->exceptionOccurred($callback); + } + + /** + * Register an event listener for the daemon queue loop. + * + * @param mixed $callback + * @return void + * @static + */ + public static function looping($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->looping($callback); + } + + /** + * Register an event listener for the failed job event. + * + * @param mixed $callback + * @return void + * @static + */ + public static function failing($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->failing($callback); + } + + /** + * Register an event listener for the daemon queue stopping. + * + * @param mixed $callback + * @return void + * @static + */ + public static function stopping($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->stopping($callback); + } + + /** + * Determine if the driver is connected. + * + * @param string|null $name + * @return bool + * @static + */ + public static function connected($name = null) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->connected($name); + } + + /** + * Resolve a queue connection instance. + * + * @param string|null $name + * @return \Illuminate\Contracts\Queue\Queue + * @static + */ + public static function connection($name = null) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->connection($name); + } + + /** + * Add a queue connection resolver. + * + * @param string $driver + * @param \Closure $resolver + * @return void + * @static + */ + public static function extend($driver, $resolver) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->extend($driver, $resolver); + } + + /** + * Add a queue connection resolver. + * + * @param string $driver + * @param \Closure $resolver + * @return void + * @static + */ + public static function addConnector($driver, $resolver) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->addConnector($driver, $resolver); + } + + /** + * Get the name of the default queue connection. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the name of the default queue connection. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Get the full name for the given connection. + * + * @param string|null $connection + * @return string + * @static + */ + public static function getName($connection = null) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->getName($connection); + } + + /** + * Get the application instance used by the manager. + * + * @return \Illuminate\Contracts\Foundation\Application + * @static + */ + public static function getApplication() + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->getApplication(); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Queue\QueueManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->setApplication($app); + } + + /** + * Specify the jobs that should be queued instead of faked. + * + * @param array|string $jobsToBeQueued + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static + */ + public static function except($jobsToBeQueued) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->except($jobsToBeQueued); + } + + /** + * Assert if a job was pushed based on a truth-test callback. + * + * @param string|\Closure $job + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertPushed($job, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertPushed($job, $callback); + } + + /** + * Assert if a job was pushed based on a truth-test callback. + * + * @param string $queue + * @param string|\Closure $job + * @param callable|null $callback + * @return void + * @static + */ + public static function assertPushedOn($queue, $job, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertPushedOn($queue, $job, $callback); + } + + /** + * Assert if a job was pushed with chained jobs based on a truth-test callback. + * + * @param string $job + * @param array $expectedChain + * @param callable|null $callback + * @return void + * @static + */ + public static function assertPushedWithChain($job, $expectedChain = [], $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertPushedWithChain($job, $expectedChain, $callback); + } + + /** + * Assert if a job was pushed with an empty chain based on a truth-test callback. + * + * @param string $job + * @param callable|null $callback + * @return void + * @static + */ + public static function assertPushedWithoutChain($job, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertPushedWithoutChain($job, $callback); + } + + /** + * Assert if a closure was pushed based on a truth-test callback. + * + * @param callable|int|null $callback + * @return void + * @static + */ + public static function assertClosurePushed($callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertClosurePushed($callback); + } + + /** + * Assert that a closure was not pushed based on a truth-test callback. + * + * @param callable|null $callback + * @return void + * @static + */ + public static function assertClosureNotPushed($callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertClosureNotPushed($callback); + } + + /** + * Determine if a job was pushed based on a truth-test callback. + * + * @param string|\Closure $job + * @param callable|null $callback + * @return void + * @static + */ + public static function assertNotPushed($job, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertNotPushed($job, $callback); + } + + /** + * Assert the total count of jobs that were pushed. + * + * @param int $expectedCount + * @return void + * @static + */ + public static function assertCount($expectedCount) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertCount($expectedCount); + } + + /** + * Assert that no jobs were pushed. + * + * @return void + * @static + */ + public static function assertNothingPushed() + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertNothingPushed(); + } + + /** + * Get all of the jobs matching a truth-test callback. + * + * @param string $job + * @param callable|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function pushed($job, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushed($job, $callback); + } + + /** + * Get all of the raw pushes matching a truth-test callback. + * + * @param null|\Closure(string, ?string, array): bool $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function pushedRaw($callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushedRaw($callback); + } + + /** + * Determine if there are any stored jobs for a given class. + * + * @param string $job + * @return bool + * @static + */ + public static function hasPushed($job) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->hasPushed($job); + } + + /** + * Get the size of the queue. + * + * @param string|null $queue + * @return int + * @static + */ + public static function size($queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->size($queue); + } + + /** + * Push a new job onto the queue. + * + * @param string|object $job + * @param mixed $data + * @param string|null $queue + * @return mixed + * @static + */ + public static function push($job, $data = '', $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->push($job, $data, $queue); + } + + /** + * Determine if a job should be faked or actually dispatched. + * + * @param object $job + * @return bool + * @static + */ + public static function shouldFakeJob($job) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->shouldFakeJob($job); + } + + /** + * Push a raw payload onto the queue. + * + * @param string $payload + * @param string|null $queue + * @param array $options + * @return mixed + * @static + */ + public static function pushRaw($payload, $queue = null, $options = []) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushRaw($payload, $queue, $options); + } + + /** + * Push a new job onto the queue after (n) seconds. + * + * @param \DateTimeInterface|\DateInterval|int $delay + * @param string|object $job + * @param mixed $data + * @param string|null $queue + * @return mixed + * @static + */ + public static function later($delay, $job, $data = '', $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->later($delay, $job, $data, $queue); + } + + /** + * Push a new job onto the queue. + * + * @param string $queue + * @param string|object $job + * @param mixed $data + * @return mixed + * @static + */ + public static function pushOn($queue, $job, $data = '') + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushOn($queue, $job, $data); + } + + /** + * Push a new job onto a specific queue after (n) seconds. + * + * @param string $queue + * @param \DateTimeInterface|\DateInterval|int $delay + * @param string|object $job + * @param mixed $data + * @return mixed + * @static + */ + public static function laterOn($queue, $delay, $job, $data = '') + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->laterOn($queue, $delay, $job, $data); + } + + /** + * Pop the next job off of the queue. + * + * @param string|null $queue + * @return \Illuminate\Contracts\Queue\Job|null + * @static + */ + public static function pop($queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pop($queue); + } + + /** + * Push an array of jobs onto the queue. + * + * @param array $jobs + * @param mixed $data + * @param string|null $queue + * @return mixed + * @static + */ + public static function bulk($jobs, $data = '', $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->bulk($jobs, $data, $queue); + } + + /** + * Get the jobs that have been pushed. + * + * @return array + * @static + */ + public static function pushedJobs() + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushedJobs(); + } + + /** + * Get the payloads that were pushed raw. + * + * @return list + * @static + */ + public static function rawPushes() + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->rawPushes(); + } + + /** + * Specify if jobs should be serialized and restored when being "pushed" to the queue. + * + * @param bool $serializeAndRestore + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static + */ + public static function serializeAndRestore($serializeAndRestore = true) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->serializeAndRestore($serializeAndRestore); + } + + /** + * Get the connection name for the queue. + * + * @return string + * @static + */ + public static function getConnectionName() + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->getConnectionName(); + } + + /** + * Set the connection name for the queue. + * + * @param string $name + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static + */ + public static function setConnectionName($name) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->setConnectionName($name); + } + + /** + * Get the maximum number of attempts for an object-based queue handler. + * + * @param mixed $job + * @return mixed + * @static + */ + public static function getJobTries($job) + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + return $instance->getJobTries($job); + } + + /** + * Get the backoff for an object-based queue handler. + * + * @param mixed $job + * @return mixed + * @static + */ + public static function getJobBackoff($job) + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + return $instance->getJobBackoff($job); + } + + /** + * Get the expiration timestamp for an object-based queue handler. + * + * @param mixed $job + * @return mixed + * @static + */ + public static function getJobExpiration($job) + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + return $instance->getJobExpiration($job); + } + + /** + * Register a callback to be executed when creating job payloads. + * + * @param callable|null $callback + * @return void + * @static + */ + public static function createPayloadUsing($callback) + { + //Method inherited from \Illuminate\Queue\Queue + \Illuminate\Queue\SyncQueue::createPayloadUsing($callback); + } + + /** + * Get the container instance being used by the connection. + * + * @return \Illuminate\Container\Container + * @static + */ + public static function getContainer() + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + return $instance->getContainer(); + } + + /** + * Set the IoC container instance. + * + * @param \Illuminate\Container\Container $container + * @return void + * @static + */ + public static function setContainer($container) + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + $instance->setContainer($container); + } + + } + /** + * + * + * @see \Illuminate\Cache\RateLimiter + */ + class RateLimiter { + /** + * Register a named limiter configuration. + * + * @param \BackedEnum|\UnitEnum|string $name + * @param \Closure $callback + * @return \Illuminate\Cache\RateLimiter + * @static + */ + public static function for($name, $callback) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->for($name, $callback); + } + + /** + * Get the given named rate limiter. + * + * @param \BackedEnum|\UnitEnum|string $name + * @return \Closure|null + * @static + */ + public static function limiter($name) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->limiter($name); + } + + /** + * Attempts to execute a callback if it's not limited. + * + * @param string $key + * @param int $maxAttempts + * @param \Closure $callback + * @param int $decaySeconds + * @return mixed + * @static + */ + public static function attempt($key, $maxAttempts, $callback, $decaySeconds = 60) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->attempt($key, $maxAttempts, $callback, $decaySeconds); + } + + /** + * Determine if the given key has been "accessed" too many times. + * + * @param string $key + * @param int $maxAttempts + * @return bool + * @static + */ + public static function tooManyAttempts($key, $maxAttempts) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->tooManyAttempts($key, $maxAttempts); + } + + /** + * Increment (by 1) the counter for a given key for a given decay time. + * + * @param string $key + * @param int $decaySeconds + * @return int + * @static + */ + public static function hit($key, $decaySeconds = 60) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->hit($key, $decaySeconds); + } + + /** + * Increment the counter for a given key for a given decay time by a given amount. + * + * @param string $key + * @param int $decaySeconds + * @param int $amount + * @return int + * @static + */ + public static function increment($key, $decaySeconds = 60, $amount = 1) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->increment($key, $decaySeconds, $amount); + } + + /** + * Decrement the counter for a given key for a given decay time by a given amount. + * + * @param string $key + * @param int $decaySeconds + * @param int $amount + * @return int + * @static + */ + public static function decrement($key, $decaySeconds = 60, $amount = 1) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->decrement($key, $decaySeconds, $amount); + } + + /** + * Get the number of attempts for the given key. + * + * @param string $key + * @return mixed + * @static + */ + public static function attempts($key) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->attempts($key); + } + + /** + * Reset the number of attempts for the given key. + * + * @param string $key + * @return mixed + * @static + */ + public static function resetAttempts($key) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->resetAttempts($key); + } + + /** + * Get the number of retries left for the given key. + * + * @param string $key + * @param int $maxAttempts + * @return int + * @static + */ + public static function remaining($key, $maxAttempts) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->remaining($key, $maxAttempts); + } + + /** + * Get the number of retries left for the given key. + * + * @param string $key + * @param int $maxAttempts + * @return int + * @static + */ + public static function retriesLeft($key, $maxAttempts) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->retriesLeft($key, $maxAttempts); + } + + /** + * Clear the hits and lockout timer for the given key. + * + * @param string $key + * @return void + * @static + */ + public static function clear($key) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + $instance->clear($key); + } + + /** + * Get the number of seconds until the "key" is accessible again. + * + * @param string $key + * @return int + * @static + */ + public static function availableIn($key) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->availableIn($key); + } + + /** + * Clean the rate limiter key from unicode characters. + * + * @param string $key + * @return string + * @static + */ + public static function cleanRateLimiterKey($key) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->cleanRateLimiterKey($key); + } + + } + /** + * + * + * @see \Illuminate\Routing\Redirector + */ + class Redirect { + /** + * Create a new redirect response to the previous location. + * + * @param int $status + * @param array $headers + * @param mixed $fallback + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function back($status = 302, $headers = [], $fallback = false) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->back($status, $headers, $fallback); + } + + /** + * Create a new redirect response to the current URI. + * + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function refresh($status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->refresh($status, $headers); + } + + /** + * Create a new redirect response, while putting the current URL in the session. + * + * @param string $path + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function guest($path, $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->guest($path, $status, $headers, $secure); + } + + /** + * Create a new redirect response to the previously intended location. + * + * @param mixed $default + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function intended($default = '/', $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->intended($default, $status, $headers, $secure); + } + + /** + * Create a new redirect response to the given path. + * + * @param string $path + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function to($path, $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->to($path, $status, $headers, $secure); + } + + /** + * Create a new redirect response to an external URL (no validation). + * + * @param string $path + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function away($path, $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->away($path, $status, $headers); + } + + /** + * Create a new redirect response to the given HTTPS path. + * + * @param string $path + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function secure($path, $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->secure($path, $status, $headers); + } + + /** + * Create a new redirect response to a named route. + * + * @param \BackedEnum|string $route + * @param mixed $parameters + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function route($route, $parameters = [], $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->route($route, $parameters, $status, $headers); + } + + /** + * Create a new redirect response to a signed named route. + * + * @param \BackedEnum|string $route + * @param mixed $parameters + * @param \DateTimeInterface|\DateInterval|int|null $expiration + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function signedRoute($route, $parameters = [], $expiration = null, $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->signedRoute($route, $parameters, $expiration, $status, $headers); + } + + /** + * Create a new redirect response to a signed named route. + * + * @param \BackedEnum|string $route + * @param \DateTimeInterface|\DateInterval|int|null $expiration + * @param mixed $parameters + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function temporarySignedRoute($route, $expiration, $parameters = [], $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->temporarySignedRoute($route, $expiration, $parameters, $status, $headers); + } + + /** + * Create a new redirect response to a controller action. + * + * @param string|array $action + * @param mixed $parameters + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function action($action, $parameters = [], $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->action($action, $parameters, $status, $headers); + } + + /** + * Get the URL generator instance. + * + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function getUrlGenerator() + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->getUrlGenerator(); + } + + /** + * Set the active session store. + * + * @param \Illuminate\Session\Store $session + * @return void + * @static + */ + public static function setSession($session) + { + /** @var \Illuminate\Routing\Redirector $instance */ + $instance->setSession($session); + } + + /** + * Get the "intended" URL from the session. + * + * @return string|null + * @static + */ + public static function getIntendedUrl() + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->getIntendedUrl(); + } + + /** + * Set the "intended" URL in the session. + * + * @param string $url + * @return \Illuminate\Routing\Redirector + * @static + */ + public static function setIntendedUrl($url) + { + /** @var \Illuminate\Routing\Redirector $instance */ + return $instance->setIntendedUrl($url); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Routing\Redirector::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Routing\Redirector::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Routing\Redirector::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Routing\Redirector::flushMacros(); + } + + } + /** + * + * + * @method static array validate(array $rules, ...$params) + * @method static array validateWithBag(string $errorBag, array $rules, ...$params) + * @method static bool hasValidSignature(bool $absolute = true) + * @see \Illuminate\Http\Request + */ + class Request { + /** + * Create a new Illuminate HTTP request from server variables. + * + * @return static + * @static + */ + public static function capture() + { + return \Illuminate\Http\Request::capture(); + } + + /** + * Return the Request instance. + * + * @return \Illuminate\Http\Request + * @static + */ + public static function instance() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->instance(); + } + + /** + * Get the request method. + * + * @return string + * @static + */ + public static function method() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->method(); + } + + /** + * Get a URI instance for the request. + * + * @return \Illuminate\Support\Uri + * @static + */ + public static function uri() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->uri(); + } + + /** + * Get the root URL for the application. + * + * @return string + * @static + */ + public static function root() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->root(); + } + + /** + * Get the URL (no query string) for the request. + * + * @return string + * @static + */ + public static function url() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->url(); + } + + /** + * Get the full URL for the request. + * + * @return string + * @static + */ + public static function fullUrl() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fullUrl(); + } + + /** + * Get the full URL for the request with the added query string parameters. + * + * @param array $query + * @return string + * @static + */ + public static function fullUrlWithQuery($query) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fullUrlWithQuery($query); + } + + /** + * Get the full URL for the request without the given query string parameters. + * + * @param array|string $keys + * @return string + * @static + */ + public static function fullUrlWithoutQuery($keys) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fullUrlWithoutQuery($keys); + } + + /** + * Get the current path info for the request. + * + * @return string + * @static + */ + public static function path() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->path(); + } + + /** + * Get the current decoded path info for the request. + * + * @return string + * @static + */ + public static function decodedPath() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->decodedPath(); + } + + /** + * Get a segment from the URI (1 based index). + * + * @param int $index + * @param string|null $default + * @return string|null + * @static + */ + public static function segment($index, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->segment($index, $default); + } + + /** + * Get all of the segments for the request path. + * + * @return array + * @static + */ + public static function segments() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->segments(); + } + + /** + * Determine if the current request URI matches a pattern. + * + * @param mixed $patterns + * @return bool + * @static + */ + public static function is(...$patterns) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->is(...$patterns); + } + + /** + * Determine if the route name matches a given pattern. + * + * @param mixed $patterns + * @return bool + * @static + */ + public static function routeIs(...$patterns) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->routeIs(...$patterns); + } + + /** + * Determine if the current request URL and query string match a pattern. + * + * @param mixed $patterns + * @return bool + * @static + */ + public static function fullUrlIs(...$patterns) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fullUrlIs(...$patterns); + } + + /** + * Get the host name. + * + * @return string + * @static + */ + public static function host() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->host(); + } + + /** + * Get the HTTP host being requested. + * + * @return string + * @static + */ + public static function httpHost() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->httpHost(); + } + + /** + * Get the scheme and HTTP host. + * + * @return string + * @static + */ + public static function schemeAndHttpHost() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->schemeAndHttpHost(); + } + + /** + * Determine if the request is the result of an AJAX call. + * + * @return bool + * @static + */ + public static function ajax() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->ajax(); + } + + /** + * Determine if the request is the result of a PJAX call. + * + * @return bool + * @static + */ + public static function pjax() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->pjax(); + } + + /** + * Determine if the request is the result of a prefetch call. + * + * @return bool + * @static + */ + public static function prefetch() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->prefetch(); + } + + /** + * Determine if the request is over HTTPS. + * + * @return bool + * @static + */ + public static function secure() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->secure(); + } + + /** + * Get the client IP address. + * + * @return string|null + * @static + */ + public static function ip() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->ip(); + } + + /** + * Get the client IP addresses. + * + * @return array + * @static + */ + public static function ips() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->ips(); + } + + /** + * Get the client user agent. + * + * @return string|null + * @static + */ + public static function userAgent() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->userAgent(); + } + + /** + * Merge new input into the current request's input array. + * + * @param array $input + * @return \Illuminate\Http\Request + * @static + */ + public static function merge($input) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->merge($input); + } + + /** + * Merge new input into the request's input, but only when that key is missing from the request. + * + * @param array $input + * @return \Illuminate\Http\Request + * @static + */ + public static function mergeIfMissing($input) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->mergeIfMissing($input); + } + + /** + * Replace the input values for the current request. + * + * @param array $input + * @return \Illuminate\Http\Request + * @static + */ + public static function replace($input) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->replace($input); + } + + /** + * This method belongs to Symfony HttpFoundation and is not usually needed when using Laravel. + * + * Instead, you may use the "input" method. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function get($key, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->get($key, $default); + } + + /** + * Get the JSON payload for the request. + * + * @param string|null $key + * @param mixed $default + * @return \Symfony\Component\HttpFoundation\InputBag|mixed + * @static + */ + public static function json($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->json($key, $default); + } + + /** + * Create a new request instance from the given Laravel request. + * + * @param \Illuminate\Http\Request $from + * @param \Illuminate\Http\Request|null $to + * @return static + * @static + */ + public static function createFrom($from, $to = null) + { + return \Illuminate\Http\Request::createFrom($from, $to); + } + + /** + * Create an Illuminate request from a Symfony instance. + * + * @param \Symfony\Component\HttpFoundation\Request $request + * @return static + * @static + */ + public static function createFromBase($request) + { + return \Illuminate\Http\Request::createFromBase($request); + } + + /** + * Clones a request and overrides some of its parameters. + * + * @return static + * @param array|null $query The GET parameters + * @param array|null $request The POST parameters + * @param array|null $attributes The request attributes (parameters parsed from the PATH_INFO, ...) + * @param array|null $cookies The COOKIE parameters + * @param array|null $files The FILES parameters + * @param array|null $server The SERVER parameters + * @static + */ + public static function duplicate($query = null, $request = null, $attributes = null, $cookies = null, $files = null, $server = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->duplicate($query, $request, $attributes, $cookies, $files, $server); + } + + /** + * Whether the request contains a Session object. + * + * This method does not give any information about the state of the session object, + * like whether the session is started or not. It is just a way to check if this Request + * is associated with a Session instance. + * + * @param bool $skipIfUninitialized When true, ignores factories injected by `setSessionFactory` + * @static + */ + public static function hasSession($skipIfUninitialized = false) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasSession($skipIfUninitialized); + } + + /** + * Gets the Session. + * + * @throws SessionNotFoundException When session is not set properly + * @static + */ + public static function getSession() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->getSession(); + } + + /** + * Get the session associated with the request. + * + * @return \Illuminate\Contracts\Session\Session + * @throws \RuntimeException + * @static + */ + public static function session() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->session(); + } + + /** + * Set the session instance on the request. + * + * @param \Illuminate\Contracts\Session\Session $session + * @return void + * @static + */ + public static function setLaravelSession($session) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->setLaravelSession($session); + } + + /** + * Set the locale for the request instance. + * + * @param string $locale + * @return void + * @static + */ + public static function setRequestLocale($locale) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->setRequestLocale($locale); + } + + /** + * Set the default locale for the request instance. + * + * @param string $locale + * @return void + * @static + */ + public static function setDefaultRequestLocale($locale) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->setDefaultRequestLocale($locale); + } + + /** + * Get the user making the request. + * + * @param string|null $guard + * @return mixed + * @static + */ + public static function user($guard = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->user($guard); + } + + /** + * Get the route handling the request. + * + * @param string|null $param + * @param mixed $default + * @return \Illuminate\Routing\Route|object|string|null + * @static + */ + public static function route($param = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->route($param, $default); + } + + /** + * Get a unique fingerprint for the request / route / IP address. + * + * @return string + * @throws \RuntimeException + * @static + */ + public static function fingerprint() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fingerprint(); + } + + /** + * Set the JSON payload for the request. + * + * @param \Symfony\Component\HttpFoundation\InputBag $json + * @return \Illuminate\Http\Request + * @static + */ + public static function setJson($json) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->setJson($json); + } + + /** + * Get the user resolver callback. + * + * @return \Closure + * @static + */ + public static function getUserResolver() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->getUserResolver(); + } + + /** + * Set the user resolver callback. + * + * @param \Closure $callback + * @return \Illuminate\Http\Request + * @static + */ + public static function setUserResolver($callback) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->setUserResolver($callback); + } + + /** + * Get the route resolver callback. + * + * @return \Closure + * @static + */ + public static function getRouteResolver() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->getRouteResolver(); + } + + /** + * Set the route resolver callback. + * + * @param \Closure $callback + * @return \Illuminate\Http\Request + * @static + */ + public static function setRouteResolver($callback) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->setRouteResolver($callback); + } + + /** + * Get all of the input and files for the request. + * + * @return array + * @static + */ + public static function toArray() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->toArray(); + } + + /** + * Determine if the given offset exists. + * + * @param string $offset + * @return bool + * @static + */ + public static function offsetExists($offset) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->offsetExists($offset); + } + + /** + * Get the value at the given offset. + * + * @param string $offset + * @return mixed + * @static + */ + public static function offsetGet($offset) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->offsetGet($offset); + } + + /** + * Set the value at the given offset. + * + * @param string $offset + * @param mixed $value + * @return void + * @static + */ + public static function offsetSet($offset, $value) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->offsetSet($offset, $value); + } + + /** + * Remove the value at the given offset. + * + * @param string $offset + * @return void + * @static + */ + public static function offsetUnset($offset) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->offsetUnset($offset); + } + + /** + * Sets the parameters for this request. + * + * This method also re-initializes all properties. + * + * @param array $query The GET parameters + * @param array $request The POST parameters + * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) + * @param array $cookies The COOKIE parameters + * @param array $files The FILES parameters + * @param array $server The SERVER parameters + * @param string|resource|null $content The raw body data + * @static + */ + public static function initialize($query = [], $request = [], $attributes = [], $cookies = [], $files = [], $server = [], $content = null) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->initialize($query, $request, $attributes, $cookies, $files, $server, $content); + } + + /** + * Creates a new request with values from PHP's super globals. + * + * @static + */ + public static function createFromGlobals() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::createFromGlobals(); + } + + /** + * Creates a Request based on a given URI and configuration. + * + * The information contained in the URI always take precedence + * over the other information (server and parameters). + * + * @param string $uri The URI + * @param string $method The HTTP method + * @param array $parameters The query (GET) or request (POST) parameters + * @param array $cookies The request cookies ($_COOKIE) + * @param array $files The request files ($_FILES) + * @param array $server The server parameters ($_SERVER) + * @param string|resource|null $content The raw body data + * @throws BadRequestException When the URI is invalid + * @static + */ + public static function create($uri, $method = 'GET', $parameters = [], $cookies = [], $files = [], $server = [], $content = null) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::create($uri, $method, $parameters, $cookies, $files, $server, $content); + } + + /** + * Sets a callable able to create a Request instance. + * + * This is mainly useful when you need to override the Request class + * to keep BC with an existing system. It should not be used for any + * other purpose. + * + * @static + */ + public static function setFactory($callable) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::setFactory($callable); + } + + /** + * Overrides the PHP global variables according to this request instance. + * + * It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. + * $_FILES is never overridden, see rfc1867 + * + * @static + */ + public static function overrideGlobals() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->overrideGlobals(); + } + + /** + * Sets a list of trusted proxies. + * + * You should only list the reverse proxies that you manage directly. + * + * @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] and 'PRIVATE_SUBNETS' by IpUtils::PRIVATE_SUBNETS + * @param int-mask-of $trustedHeaderSet A bit field to set which headers to trust from your proxies + * @static + */ + public static function setTrustedProxies($proxies, $trustedHeaderSet) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet); + } + + /** + * Gets the list of trusted proxies. + * + * @return string[] + * @static + */ + public static function getTrustedProxies() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getTrustedProxies(); + } + + /** + * Gets the set of trusted headers from trusted proxies. + * + * @return int A bit field of Request::HEADER_* that defines which headers are trusted from your proxies + * @static + */ + public static function getTrustedHeaderSet() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getTrustedHeaderSet(); + } + + /** + * Sets a list of trusted host patterns. + * + * You should only list the hosts you manage using regexs. + * + * @param array $hostPatterns A list of trusted host patterns + * @static + */ + public static function setTrustedHosts($hostPatterns) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::setTrustedHosts($hostPatterns); + } + + /** + * Gets the list of trusted host patterns. + * + * @return string[] + * @static + */ + public static function getTrustedHosts() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getTrustedHosts(); + } + + /** + * Normalizes a query string. + * + * It builds a normalized query string, where keys/value pairs are alphabetized, + * have consistent escaping and unneeded delimiters are removed. + * + * @static + */ + public static function normalizeQueryString($qs) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::normalizeQueryString($qs); + } + + /** + * Enables support for the _method request parameter to determine the intended HTTP method. + * + * Be warned that enabling this feature might lead to CSRF issues in your code. + * Check that you are using CSRF tokens when required. + * If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered + * and used to send a "PUT" or "DELETE" request via the _method request parameter. + * If these methods are not protected against CSRF, this presents a possible vulnerability. + * + * The HTTP method can only be overridden when the real HTTP method is POST. + * + * @static + */ + public static function enableHttpMethodParameterOverride() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::enableHttpMethodParameterOverride(); + } + + /** + * Checks whether support for the _method request parameter is enabled. + * + * @static + */ + public static function getHttpMethodParameterOverride() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getHttpMethodParameterOverride(); + } + + /** + * Whether the request contains a Session which was started in one of the + * previous requests. + * + * @static + */ + public static function hasPreviousSession() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasPreviousSession(); + } + + /** + * + * + * @static + */ + public static function setSession($session) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setSession($session); + } + + /** + * + * + * @internal + * @param callable(): SessionInterface $factory + * @static + */ + public static function setSessionFactory($factory) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setSessionFactory($factory); + } + + /** + * Returns the client IP addresses. + * + * In the returned array the most trusted IP address is first, and the + * least trusted one last. The "real" client IP address is the last one, + * but this is also the least trusted one. Trusted proxies are stripped. + * + * Use this method carefully; you should use getClientIp() instead. + * + * @see getClientIp() + * @static + */ + public static function getClientIps() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getClientIps(); + } + + /** + * Returns the client IP address. + * + * This method can read the client IP address from the "X-Forwarded-For" header + * when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" + * header value is a comma+space separated list of IP addresses, the left-most + * being the original client, and each successive proxy that passed the request + * adding the IP address where it received the request from. + * + * If your reverse proxy uses a different header name than "X-Forwarded-For", + * ("Client-Ip" for instance), configure it via the $trustedHeaderSet + * argument of the Request::setTrustedProxies() method instead. + * + * @see getClientIps() + * @see https://wikipedia.org/wiki/X-Forwarded-For + * @static + */ + public static function getClientIp() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getClientIp(); + } + + /** + * Returns current script name. + * + * @static + */ + public static function getScriptName() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getScriptName(); + } + + /** + * Returns the path being requested relative to the executed script. + * + * The path info always starts with a /. + * + * Suppose this request is instantiated from /mysite on localhost: + * + * * http://localhost/mysite returns an empty string + * * http://localhost/mysite/about returns '/about' + * * http://localhost/mysite/enco%20ded returns '/enco%20ded' + * * http://localhost/mysite/about?var=1 returns '/about' + * + * @return string The raw path (i.e. not urldecoded) + * @static + */ + public static function getPathInfo() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPathInfo(); + } + + /** + * Returns the root path from which this request is executed. + * + * Suppose that an index.php file instantiates this request object: + * + * * http://localhost/index.php returns an empty string + * * http://localhost/index.php/page returns an empty string + * * http://localhost/web/index.php returns '/web' + * * http://localhost/we%20b/index.php returns '/we%20b' + * + * @return string The raw path (i.e. not urldecoded) + * @static + */ + public static function getBasePath() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getBasePath(); + } + + /** + * Returns the root URL from which this request is executed. + * + * The base URL never ends with a /. + * + * This is similar to getBasePath(), except that it also includes the + * script filename (e.g. index.php) if one exists. + * + * @return string The raw URL (i.e. not urldecoded) + * @static + */ + public static function getBaseUrl() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getBaseUrl(); + } + + /** + * Gets the request's scheme. + * + * @static + */ + public static function getScheme() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getScheme(); + } + + /** + * Returns the port on which the request is made. + * + * This method can read the client port from the "X-Forwarded-Port" header + * when trusted proxies were set via "setTrustedProxies()". + * + * The "X-Forwarded-Port" header must contain the client port. + * + * @return int|string|null Can be a string if fetched from the server bag + * @static + */ + public static function getPort() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPort(); + } + + /** + * Returns the user. + * + * @static + */ + public static function getUser() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getUser(); + } + + /** + * Returns the password. + * + * @static + */ + public static function getPassword() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPassword(); + } + + /** + * Gets the user info. + * + * @return string|null A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server + * @static + */ + public static function getUserInfo() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getUserInfo(); + } + + /** + * Returns the HTTP host being requested. + * + * The port name will be appended to the host if it's non-standard. + * + * @static + */ + public static function getHttpHost() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getHttpHost(); + } + + /** + * Returns the requested URI (path and query string). + * + * @return string The raw URI (i.e. not URI decoded) + * @static + */ + public static function getRequestUri() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getRequestUri(); + } + + /** + * Gets the scheme and HTTP host. + * + * If the URL was called with basic authentication, the user + * and the password are not added to the generated string. + * + * @static + */ + public static function getSchemeAndHttpHost() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getSchemeAndHttpHost(); + } + + /** + * Generates a normalized URI (URL) for the Request. + * + * @see getQueryString() + * @static + */ + public static function getUri() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getUri(); + } + + /** + * Generates a normalized URI for the given path. + * + * @param string $path A path to use instead of the current one + * @static + */ + public static function getUriForPath($path) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getUriForPath($path); + } + + /** + * Returns the path as relative reference from the current Request path. + * + * Only the URIs path component (no schema, host etc.) is relevant and must be given. + * Both paths must be absolute and not contain relative parts. + * Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. + * Furthermore, they can be used to reduce the link size in documents. + * + * Example target paths, given a base path of "/a/b/c/d": + * - "/a/b/c/d" -> "" + * - "/a/b/c/" -> "./" + * - "/a/b/" -> "../" + * - "/a/b/c/other" -> "other" + * - "/a/x/y" -> "../../x/y" + * + * @static + */ + public static function getRelativeUriForPath($path) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getRelativeUriForPath($path); + } + + /** + * Generates the normalized query string for the Request. + * + * It builds a normalized query string, where keys/value pairs are alphabetized + * and have consistent escaping. + * + * @static + */ + public static function getQueryString() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getQueryString(); + } + + /** + * Checks whether the request is secure or not. + * + * This method can read the client protocol from the "X-Forwarded-Proto" header + * when trusted proxies were set via "setTrustedProxies()". + * + * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". + * + * @static + */ + public static function isSecure() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isSecure(); + } + + /** + * Returns the host name. + * + * This method can read the client host name from the "X-Forwarded-Host" header + * when trusted proxies were set via "setTrustedProxies()". + * + * The "X-Forwarded-Host" header must contain the client host name. + * + * @throws SuspiciousOperationException when the host name is invalid or not trusted + * @static + */ + public static function getHost() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getHost(); + } + + /** + * Sets the request method. + * + * @static + */ + public static function setMethod($method) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setMethod($method); + } + + /** + * Gets the request "intended" method. + * + * If the X-HTTP-Method-Override header is set, and if the method is a POST, + * then it is used to determine the "real" intended HTTP method. + * + * The _method request parameter can also be used to determine the HTTP method, + * but only if enableHttpMethodParameterOverride() has been called. + * + * The method is always an uppercased string. + * + * @see getRealMethod() + * @static + */ + public static function getMethod() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getMethod(); + } + + /** + * Gets the "real" request method. + * + * @see getMethod() + * @static + */ + public static function getRealMethod() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getRealMethod(); + } + + /** + * Gets the mime type associated with the format. + * + * @static + */ + public static function getMimeType($format) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getMimeType($format); + } + + /** + * Gets the mime types associated with the format. + * + * @return string[] + * @static + */ + public static function getMimeTypes($format) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getMimeTypes($format); + } + + /** + * Gets the format associated with the mime type. + * + * @static + */ + public static function getFormat($mimeType) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getFormat($mimeType); + } + + /** + * Associates a format with mime types. + * + * @param string|string[] $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) + * @static + */ + public static function setFormat($format, $mimeTypes) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setFormat($format, $mimeTypes); + } + + /** + * Gets the request format. + * + * Here is the process to determine the format: + * + * * format defined by the user (with setRequestFormat()) + * * _format request attribute + * * $default + * + * @see getPreferredFormat + * @static + */ + public static function getRequestFormat($default = 'html') + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getRequestFormat($default); + } + + /** + * Sets the request format. + * + * @static + */ + public static function setRequestFormat($format) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setRequestFormat($format); + } + + /** + * Gets the usual name of the format associated with the request's media type (provided in the Content-Type header). + * + * @see Request::$formats + * @static + */ + public static function getContentTypeFormat() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getContentTypeFormat(); + } + + /** + * Sets the default locale. + * + * @static + */ + public static function setDefaultLocale($locale) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setDefaultLocale($locale); + } + + /** + * Get the default locale. + * + * @static + */ + public static function getDefaultLocale() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getDefaultLocale(); + } + + /** + * Sets the locale. + * + * @static + */ + public static function setLocale($locale) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->setLocale($locale); + } + + /** + * Get the locale. + * + * @static + */ + public static function getLocale() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getLocale(); + } + + /** + * Checks if the request method is of specified type. + * + * @param string $method Uppercase request method (GET, POST etc) + * @static + */ + public static function isMethod($method) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isMethod($method); + } + + /** + * Checks whether or not the method is safe. + * + * @see https://tools.ietf.org/html/rfc7231#section-4.2.1 + * @static + */ + public static function isMethodSafe() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isMethodSafe(); + } + + /** + * Checks whether or not the method is idempotent. + * + * @static + */ + public static function isMethodIdempotent() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isMethodIdempotent(); + } + + /** + * Checks whether the method is cacheable or not. + * + * @see https://tools.ietf.org/html/rfc7231#section-4.2.3 + * @static + */ + public static function isMethodCacheable() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isMethodCacheable(); + } + + /** + * Returns the protocol version. + * + * If the application is behind a proxy, the protocol version used in the + * requests between the client and the proxy and between the proxy and the + * server might be different. This returns the former (from the "Via" header) + * if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns + * the latter (from the "SERVER_PROTOCOL" server parameter). + * + * @static + */ + public static function getProtocolVersion() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getProtocolVersion(); + } + + /** + * Returns the request body content. + * + * @param bool $asResource If true, a resource will be returned + * @return string|resource + * @psalm-return ($asResource is true ? resource : string) + * @static + */ + public static function getContent($asResource = false) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getContent($asResource); + } + + /** + * Gets the decoded form or json request body. + * + * @throws JsonException When the body cannot be decoded to an array + * @static + */ + public static function getPayload() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPayload(); + } + + /** + * Gets the Etags. + * + * @static + */ + public static function getETags() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getETags(); + } + + /** + * + * + * @static + */ + public static function isNoCache() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isNoCache(); + } + + /** + * Gets the preferred format for the response by inspecting, in the following order: + * * the request format set using setRequestFormat; + * * the values of the Accept HTTP header. + * + * Note that if you use this method, you should send the "Vary: Accept" header + * in the response to prevent any issues with intermediary HTTP caches. + * + * @static + */ + public static function getPreferredFormat($default = 'html') + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPreferredFormat($default); + } + + /** + * Returns the preferred language. + * + * @param string[] $locales An array of ordered available locales + * @static + */ + public static function getPreferredLanguage($locales = null) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getPreferredLanguage($locales); + } + + /** + * Gets a list of languages acceptable by the client browser ordered in the user browser preferences. + * + * @return string[] + * @static + */ + public static function getLanguages() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getLanguages(); + } + + /** + * Gets a list of charsets acceptable by the client browser in preferable order. + * + * @return string[] + * @static + */ + public static function getCharsets() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getCharsets(); + } + + /** + * Gets a list of encodings acceptable by the client browser in preferable order. + * + * @return string[] + * @static + */ + public static function getEncodings() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getEncodings(); + } + + /** + * Gets a list of content types acceptable by the client browser in preferable order. + * + * @return string[] + * @static + */ + public static function getAcceptableContentTypes() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->getAcceptableContentTypes(); + } + + /** + * Returns true if the request is an XMLHttpRequest. + * + * It works if your JavaScript library sets an X-Requested-With HTTP header. + * It is known to work with common JavaScript frameworks: + * + * @see https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript + * @static + */ + public static function isXmlHttpRequest() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isXmlHttpRequest(); + } + + /** + * Checks whether the client browser prefers safe content or not according to RFC8674. + * + * @see https://tools.ietf.org/html/rfc8674 + * @static + */ + public static function preferSafeContent() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->preferSafeContent(); + } + + /** + * Indicates whether this request originated from a trusted proxy. + * + * This can be useful to determine whether or not to trust the + * contents of a proxy-specific header. + * + * @static + */ + public static function isFromTrustedProxy() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + /** @var \Illuminate\Http\Request $instance */ + return $instance->isFromTrustedProxy(); + } + + /** + * Filter the given array of rules into an array of rules that are included in precognitive headers. + * + * @param array $rules + * @return array + * @static + */ + public static function filterPrecognitiveRules($rules) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->filterPrecognitiveRules($rules); + } + + /** + * Determine if the request is attempting to be precognitive. + * + * @return bool + * @static + */ + public static function isAttemptingPrecognition() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->isAttemptingPrecognition(); + } + + /** + * Determine if the request is precognitive. + * + * @return bool + * @static + */ + public static function isPrecognitive() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->isPrecognitive(); + } + + /** + * Determine if the request is sending JSON. + * + * @return bool + * @static + */ + public static function isJson() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->isJson(); + } + + /** + * Determine if the current request probably expects a JSON response. + * + * @return bool + * @static + */ + public static function expectsJson() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->expectsJson(); + } + + /** + * Determine if the current request is asking for JSON. + * + * @return bool + * @static + */ + public static function wantsJson() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->wantsJson(); + } + + /** + * Determines whether the current requests accepts a given content type. + * + * @param string|array $contentTypes + * @return bool + * @static + */ + public static function accepts($contentTypes) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->accepts($contentTypes); + } + + /** + * Return the most suitable content type from the given array based on content negotiation. + * + * @param string|array $contentTypes + * @return string|null + * @static + */ + public static function prefers($contentTypes) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->prefers($contentTypes); + } + + /** + * Determine if the current request accepts any content type. + * + * @return bool + * @static + */ + public static function acceptsAnyContentType() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->acceptsAnyContentType(); + } + + /** + * Determines whether a request accepts JSON. + * + * @return bool + * @static + */ + public static function acceptsJson() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->acceptsJson(); + } + + /** + * Determines whether a request accepts HTML. + * + * @return bool + * @static + */ + public static function acceptsHtml() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->acceptsHtml(); + } + + /** + * Determine if the given content types match. + * + * @param string $actual + * @param string $type + * @return bool + * @static + */ + public static function matchesType($actual, $type) + { + return \Illuminate\Http\Request::matchesType($actual, $type); + } + + /** + * Get the data format expected in the response. + * + * @param string $default + * @return string + * @static + */ + public static function format($default = 'html') + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->format($default); + } + + /** + * Retrieve an old input item. + * + * @param string|null $key + * @param \Illuminate\Database\Eloquent\Model|string|array|null $default + * @return string|array|null + * @static + */ + public static function old($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->old($key, $default); + } + + /** + * Flash the input for the current request to the session. + * + * @return void + * @static + */ + public static function flash() + { + /** @var \Illuminate\Http\Request $instance */ + $instance->flash(); + } + + /** + * Flash only some of the input to the session. + * + * @param array|mixed $keys + * @return void + * @static + */ + public static function flashOnly($keys) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->flashOnly($keys); + } + + /** + * Flash only some of the input to the session. + * + * @param array|mixed $keys + * @return void + * @static + */ + public static function flashExcept($keys) + { + /** @var \Illuminate\Http\Request $instance */ + $instance->flashExcept($keys); + } + + /** + * Flush all of the old input from the session. + * + * @return void + * @static + */ + public static function flush() + { + /** @var \Illuminate\Http\Request $instance */ + $instance->flush(); + } + + /** + * Retrieve a server variable from the request. + * + * @param string|null $key + * @param string|array|null $default + * @return string|array|null + * @static + */ + public static function server($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->server($key, $default); + } + + /** + * Determine if a header is set on the request. + * + * @param string $key + * @return bool + * @static + */ + public static function hasHeader($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasHeader($key); + } + + /** + * Retrieve a header from the request. + * + * @param string|null $key + * @param string|array|null $default + * @return string|array|null + * @static + */ + public static function header($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->header($key, $default); + } + + /** + * Get the bearer token from the request headers. + * + * @return string|null + * @static + */ + public static function bearerToken() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->bearerToken(); + } + + /** + * Get the keys for all of the input and files. + * + * @return array + * @static + */ + public static function keys() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->keys(); + } + + /** + * Get all of the input and files for the request. + * + * @param array|mixed|null $keys + * @return array + * @static + */ + public static function all($keys = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->all($keys); + } + + /** + * Retrieve an input item from the request. + * + * @param string|null $key + * @param mixed $default + * @return mixed + * @static + */ + public static function input($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->input($key, $default); + } + + /** + * Retrieve input from the request as a Fluent object instance. + * + * @param array|string|null $key + * @return \Illuminate\Support\Fluent + * @static + */ + public static function fluent($key = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->fluent($key); + } + + /** + * Retrieve a query string item from the request. + * + * @param string|null $key + * @param string|array|null $default + * @return string|array|null + * @static + */ + public static function query($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->query($key, $default); + } + + /** + * Retrieve a request payload item from the request. + * + * @param string|null $key + * @param string|array|null $default + * @return string|array|null + * @static + */ + public static function post($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->post($key, $default); + } + + /** + * Determine if a cookie is set on the request. + * + * @param string $key + * @return bool + * @static + */ + public static function hasCookie($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasCookie($key); + } + + /** + * Retrieve a cookie from the request. + * + * @param string|null $key + * @param string|array|null $default + * @return string|array|null + * @static + */ + public static function cookie($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->cookie($key, $default); + } + + /** + * Get an array of all of the files on the request. + * + * @return array + * @static + */ + public static function allFiles() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->allFiles(); + } + + /** + * Determine if the uploaded data contains a file. + * + * @param string $key + * @return bool + * @static + */ + public static function hasFile($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasFile($key); + } + + /** + * Retrieve a file from the request. + * + * @param string|null $key + * @param mixed $default + * @return \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null + * @static + */ + public static function file($key = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->file($key, $default); + } + + /** + * Dump the items. + * + * @param mixed $keys + * @return \Illuminate\Http\Request + * @static + */ + public static function dump($keys = []) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->dump($keys); + } + + /** + * Dump the given arguments and terminate execution. + * + * @param mixed $args + * @return never + * @static + */ + public static function dd(...$args) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->dd(...$args); + } + + /** + * Determine if the data contains a given key. + * + * @param string|array $key + * @return bool + * @static + */ + public static function exists($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->exists($key); + } + + /** + * Determine if the data contains a given key. + * + * @param string|array $key + * @return bool + * @static + */ + public static function has($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->has($key); + } + + /** + * Determine if the instance contains any of the given keys. + * + * @param string|array $keys + * @return bool + * @static + */ + public static function hasAny($keys) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->hasAny($keys); + } + + /** + * Apply the callback if the instance contains the given key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + * @static + */ + public static function whenHas($key, $callback, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->whenHas($key, $callback, $default); + } + + /** + * Determine if the instance contains a non-empty value for the given key. + * + * @param string|array $key + * @return bool + * @static + */ + public static function filled($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->filled($key); + } + + /** + * Determine if the instance contains an empty value for the given key. + * + * @param string|array $key + * @return bool + * @static + */ + public static function isNotFilled($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->isNotFilled($key); + } + + /** + * Determine if the instance contains a non-empty value for any of the given keys. + * + * @param string|array $keys + * @return bool + * @static + */ + public static function anyFilled($keys) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->anyFilled($keys); + } + + /** + * Apply the callback if the instance contains a non-empty value for the given key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + * @static + */ + public static function whenFilled($key, $callback, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->whenFilled($key, $callback, $default); + } + + /** + * Determine if the instance is missing a given key. + * + * @param string|array $key + * @return bool + * @static + */ + public static function missing($key) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->missing($key); + } + + /** + * Apply the callback if the instance is missing the given key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + * @static + */ + public static function whenMissing($key, $callback, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->whenMissing($key, $callback, $default); + } + + /** + * Retrieve data from the instance as a Stringable instance. + * + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable + * @static + */ + public static function str($key, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->str($key, $default); + } + + /** + * Retrieve data from the instance as a Stringable instance. + * + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable + * @static + */ + public static function string($key, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->string($key, $default); + } + + /** + * Retrieve data as a boolean value. + * + * Returns true when value is "1", "true", "on", and "yes". Otherwise, returns false. + * + * @param string|null $key + * @param bool $default + * @return bool + * @static + */ + public static function boolean($key = null, $default = false) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->boolean($key, $default); + } + + /** + * Retrieve data as an integer value. + * + * @param string $key + * @param int $default + * @return int + * @static + */ + public static function integer($key, $default = 0) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->integer($key, $default); + } + + /** + * Retrieve data as a float value. + * + * @param string $key + * @param float $default + * @return float + * @static + */ + public static function float($key, $default = 0.0) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->float($key, $default); + } + + /** + * Retrieve data from the instance as a Carbon instance. + * + * @param string $key + * @param string|null $format + * @param string|null $tz + * @return \Illuminate\Support\Carbon|null + * @throws \Carbon\Exceptions\InvalidFormatException + * @static + */ + public static function date($key, $format = null, $tz = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->date($key, $format, $tz); + } + + /** + * Retrieve data from the instance as an enum. + * + * @template TEnum of \BackedEnum + * @param string $key + * @param class-string $enumClass + * @return TEnum|null + * @static + */ + public static function enum($key, $enumClass) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->enum($key, $enumClass); + } + + /** + * Retrieve data from the instance as an array of enums. + * + * @template TEnum of \BackedEnum + * @param string $key + * @param class-string $enumClass + * @return TEnum[] + * @static + */ + public static function enums($key, $enumClass) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->enums($key, $enumClass); + } + + /** + * Retrieve data from the instance as an array. + * + * @param array|string|null $key + * @return array + * @static + */ + public static function array($key = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->array($key); + } + + /** + * Retrieve data from the instance as a collection. + * + * @param array|string|null $key + * @return \Illuminate\Support\Collection + * @static + */ + public static function collect($key = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->collect($key); + } + + /** + * Get a subset containing the provided keys with values from the instance data. + * + * @param array|mixed $keys + * @return array + * @static + */ + public static function only($keys) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->only($keys); + } + + /** + * Get all of the data except for a specified array of items. + * + * @param array|mixed $keys + * @return array + * @static + */ + public static function except($keys) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->except($keys); + } + + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|TWhenReturnType + * @static + */ + public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->when($value, $callback, $default); + } + + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|TUnlessReturnType + * @static + */ + public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->unless($value, $callback, $default); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Http\Request::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Http\Request::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Http\Request::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Http\Request::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Routing\ResponseFactory + */ + class Response { + /** + * Create a new response instance. + * + * @param mixed $content + * @param int $status + * @param array $headers + * @return \Illuminate\Http\Response + * @static + */ + public static function make($content = '', $status = 200, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->make($content, $status, $headers); + } + + /** + * Create a new "no content" response. + * + * @param int $status + * @param array $headers + * @return \Illuminate\Http\Response + * @static + */ + public static function noContent($status = 204, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->noContent($status, $headers); + } + + /** + * Create a new response for a given view. + * + * @param string|array $view + * @param array $data + * @param int $status + * @param array $headers + * @return \Illuminate\Http\Response + * @static + */ + public static function view($view, $data = [], $status = 200, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->view($view, $data, $status, $headers); + } + + /** + * Create a new JSON response instance. + * + * @param mixed $data + * @param int $status + * @param array $headers + * @param int $options + * @return \Illuminate\Http\JsonResponse + * @static + */ + public static function json($data = [], $status = 200, $headers = [], $options = 0) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->json($data, $status, $headers, $options); + } + + /** + * Create a new JSONP response instance. + * + * @param string $callback + * @param mixed $data + * @param int $status + * @param array $headers + * @param int $options + * @return \Illuminate\Http\JsonResponse + * @static + */ + public static function jsonp($callback, $data = [], $status = 200, $headers = [], $options = 0) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->jsonp($callback, $data, $status, $headers, $options); + } + + /** + * Create a new event stream response. + * + * @param \Closure $callback + * @param array $headers + * @param string $endStreamWith + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static + */ + public static function eventStream($callback, $headers = [], $endStreamWith = '') + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->eventStream($callback, $headers, $endStreamWith); + } + + /** + * Create a new streamed response instance. + * + * @param callable $callback + * @param int $status + * @param array $headers + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static + */ + public static function stream($callback, $status = 200, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->stream($callback, $status, $headers); + } + + /** + * Create a new streamed response instance. + * + * @param array $data + * @param int $status + * @param array $headers + * @param int $encodingOptions + * @return \Symfony\Component\HttpFoundation\StreamedJsonResponse + * @static + */ + public static function streamJson($data, $status = 200, $headers = [], $encodingOptions = 15) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->streamJson($data, $status, $headers, $encodingOptions); + } + + /** + * Create a new streamed response instance as a file download. + * + * @param callable $callback + * @param string|null $name + * @param array $headers + * @param string|null $disposition + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @throws \Illuminate\Routing\Exceptions\StreamedResponseException + * @static + */ + public static function streamDownload($callback, $name = null, $headers = [], $disposition = 'attachment') + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->streamDownload($callback, $name, $headers, $disposition); + } + + /** + * Create a new file download response. + * + * @param \SplFileInfo|string $file + * @param string|null $name + * @param array $headers + * @param string|null $disposition + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @static + */ + public static function download($file, $name = null, $headers = [], $disposition = 'attachment') + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->download($file, $name, $headers, $disposition); + } + + /** + * Return the raw contents of a binary file. + * + * @param \SplFileInfo|string $file + * @param array $headers + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @static + */ + public static function file($file, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->file($file, $headers); + } + + /** + * Create a new redirect response to the given path. + * + * @param string $path + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function redirectTo($path, $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->redirectTo($path, $status, $headers, $secure); + } + + /** + * Create a new redirect response to a named route. + * + * @param \BackedEnum|string $route + * @param mixed $parameters + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function redirectToRoute($route, $parameters = [], $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->redirectToRoute($route, $parameters, $status, $headers); + } + + /** + * Create a new redirect response to a controller action. + * + * @param array|string $action + * @param mixed $parameters + * @param int $status + * @param array $headers + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function redirectToAction($action, $parameters = [], $status = 302, $headers = []) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->redirectToAction($action, $parameters, $status, $headers); + } + + /** + * Create a new redirect response, while putting the current URL in the session. + * + * @param string $path + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function redirectGuest($path, $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->redirectGuest($path, $status, $headers, $secure); + } + + /** + * Create a new redirect response to the previously intended location. + * + * @param string $default + * @param int $status + * @param array $headers + * @param bool|null $secure + * @return \Illuminate\Http\RedirectResponse + * @static + */ + public static function redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->redirectToIntended($default, $status, $headers, $secure); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Routing\ResponseFactory::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Routing\ResponseFactory::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Routing\ResponseFactory::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Routing\ResponseFactory::flushMacros(); + } + + } + /** + * + * + * @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value) + * @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereNumber(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereUlid(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values) + * @method static \Illuminate\Routing\RouteRegistrar as(string $value) + * @method static \Illuminate\Routing\RouteRegistrar can(\UnitEnum|string $ability, array|string $models = []) + * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller) + * @method static \Illuminate\Routing\RouteRegistrar domain(\BackedEnum|string $value) + * @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware) + * @method static \Illuminate\Routing\RouteRegistrar missing(\Closure $missing) + * @method static \Illuminate\Routing\RouteRegistrar name(\BackedEnum|string $value) + * @method static \Illuminate\Routing\RouteRegistrar namespace(string|null $value) + * @method static \Illuminate\Routing\RouteRegistrar prefix(string $prefix) + * @method static \Illuminate\Routing\RouteRegistrar scopeBindings() + * @method static \Illuminate\Routing\RouteRegistrar where(array $where) + * @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware) + * @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings() + * @see \Illuminate\Routing\Router + */ + class Route { + /** + * Register a new GET route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function get($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->get($uri, $action); + } + + /** + * Register a new POST route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function post($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->post($uri, $action); + } + + /** + * Register a new PUT route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function put($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->put($uri, $action); + } + + /** + * Register a new PATCH route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function patch($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->patch($uri, $action); + } + + /** + * Register a new DELETE route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function delete($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->delete($uri, $action); + } + + /** + * Register a new OPTIONS route with the router. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function options($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->options($uri, $action); + } + + /** + * Register a new route responding to all verbs. + * + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function any($uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->any($uri, $action); + } + + /** + * Register a new fallback route with the router. + * + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function fallback($action) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->fallback($action); + } + + /** + * Create a redirect from one URI to another. + * + * @param string $uri + * @param string $destination + * @param int $status + * @return \Illuminate\Routing\Route + * @static + */ + public static function redirect($uri, $destination, $status = 302) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->redirect($uri, $destination, $status); + } + + /** + * Create a permanent redirect from one URI to another. + * + * @param string $uri + * @param string $destination + * @return \Illuminate\Routing\Route + * @static + */ + public static function permanentRedirect($uri, $destination) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->permanentRedirect($uri, $destination); + } + + /** + * Register a new route that returns a view. + * + * @param string $uri + * @param string $view + * @param array $data + * @param int|array $status + * @param array $headers + * @return \Illuminate\Routing\Route + * @static + */ + public static function view($uri, $view, $data = [], $status = 200, $headers = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->view($uri, $view, $data, $status, $headers); + } + + /** + * Register a new route with the given verbs. + * + * @param array|string $methods + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function match($methods, $uri, $action = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->match($methods, $uri, $action); + } + + /** + * Register an array of resource controllers. + * + * @param array $resources + * @param array $options + * @return void + * @static + */ + public static function resources($resources, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->resources($resources, $options); + } + + /** + * Route a resource to a controller. + * + * @param string $name + * @param string $controller + * @param array $options + * @return \Illuminate\Routing\PendingResourceRegistration + * @static + */ + public static function resource($name, $controller, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->resource($name, $controller, $options); + } + + /** + * Register an array of API resource controllers. + * + * @param array $resources + * @param array $options + * @return void + * @static + */ + public static function apiResources($resources, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->apiResources($resources, $options); + } + + /** + * Route an API resource to a controller. + * + * @param string $name + * @param string $controller + * @param array $options + * @return \Illuminate\Routing\PendingResourceRegistration + * @static + */ + public static function apiResource($name, $controller, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->apiResource($name, $controller, $options); + } + + /** + * Register an array of singleton resource controllers. + * + * @param array $singletons + * @param array $options + * @return void + * @static + */ + public static function singletons($singletons, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->singletons($singletons, $options); + } + + /** + * Route a singleton resource to a controller. + * + * @param string $name + * @param string $controller + * @param array $options + * @return \Illuminate\Routing\PendingSingletonResourceRegistration + * @static + */ + public static function singleton($name, $controller, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->singleton($name, $controller, $options); + } + + /** + * Register an array of API singleton resource controllers. + * + * @param array $singletons + * @param array $options + * @return void + * @static + */ + public static function apiSingletons($singletons, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->apiSingletons($singletons, $options); + } + + /** + * Route an API singleton resource to a controller. + * + * @param string $name + * @param string $controller + * @param array $options + * @return \Illuminate\Routing\PendingSingletonResourceRegistration + * @static + */ + public static function apiSingleton($name, $controller, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->apiSingleton($name, $controller, $options); + } + + /** + * Create a route group with shared attributes. + * + * @param array $attributes + * @param \Closure|array|string $routes + * @return \Illuminate\Routing\Router + * @static + */ + public static function group($attributes, $routes) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->group($attributes, $routes); + } + + /** + * Merge the given array with the last group stack. + * + * @param array $new + * @param bool $prependExistingPrefix + * @return array + * @static + */ + public static function mergeWithLastGroup($new, $prependExistingPrefix = true) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->mergeWithLastGroup($new, $prependExistingPrefix); + } + + /** + * Get the prefix from the last group on the stack. + * + * @return string + * @static + */ + public static function getLastGroupPrefix() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getLastGroupPrefix(); + } + + /** + * Add a route to the underlying route collection. + * + * @param array|string $methods + * @param string $uri + * @param array|string|callable|null $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function addRoute($methods, $uri, $action) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->addRoute($methods, $uri, $action); + } + + /** + * Create a new Route object. + * + * @param array|string $methods + * @param string $uri + * @param mixed $action + * @return \Illuminate\Routing\Route + * @static + */ + public static function newRoute($methods, $uri, $action) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->newRoute($methods, $uri, $action); + } + + /** + * Return the response returned by the given route. + * + * @param string $name + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function respondWithRoute($name) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->respondWithRoute($name); + } + + /** + * Dispatch the request to the application. + * + * @param \Illuminate\Http\Request $request + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function dispatch($request) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->dispatch($request); + } + + /** + * Dispatch the request to a route and return the response. + * + * @param \Illuminate\Http\Request $request + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function dispatchToRoute($request) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->dispatchToRoute($request); + } + + /** + * Gather the middleware for the given route with resolved class names. + * + * @param \Illuminate\Routing\Route $route + * @return array + * @static + */ + public static function gatherRouteMiddleware($route) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->gatherRouteMiddleware($route); + } + + /** + * Resolve a flat array of middleware classes from the provided array. + * + * @param array $middleware + * @param array $excluded + * @return array + * @static + */ + public static function resolveMiddleware($middleware, $excluded = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->resolveMiddleware($middleware, $excluded); + } + + /** + * Create a response instance from the given value. + * + * @param \Symfony\Component\HttpFoundation\Request $request + * @param mixed $response + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function prepareResponse($request, $response) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->prepareResponse($request, $response); + } + + /** + * Static version of prepareResponse. + * + * @param \Symfony\Component\HttpFoundation\Request $request + * @param mixed $response + * @return \Symfony\Component\HttpFoundation\Response + * @static + */ + public static function toResponse($request, $response) + { + return \Illuminate\Routing\Router::toResponse($request, $response); + } + + /** + * Substitute the route bindings onto the route. + * + * @param \Illuminate\Routing\Route $route + * @return \Illuminate\Routing\Route + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> + * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException + * @static + */ + public static function substituteBindings($route) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->substituteBindings($route); + } + + /** + * Substitute the implicit route bindings for the given route. + * + * @param \Illuminate\Routing\Route $route + * @return void + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> + * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException + * @static + */ + public static function substituteImplicitBindings($route) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->substituteImplicitBindings($route); + } + + /** + * Register a callback to run after implicit bindings are substituted. + * + * @param callable $callback + * @return \Illuminate\Routing\Router + * @static + */ + public static function substituteImplicitBindingsUsing($callback) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->substituteImplicitBindingsUsing($callback); + } + + /** + * Register a route matched event listener. + * + * @param string|callable $callback + * @return void + * @static + */ + public static function matched($callback) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->matched($callback); + } + + /** + * Get all of the defined middleware short-hand names. + * + * @return array + * @static + */ + public static function getMiddleware() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getMiddleware(); + } + + /** + * Register a short-hand name for a middleware. + * + * @param string $name + * @param string $class + * @return \Illuminate\Routing\Router + * @static + */ + public static function aliasMiddleware($name, $class) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->aliasMiddleware($name, $class); + } + + /** + * Check if a middlewareGroup with the given name exists. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMiddlewareGroup($name) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->hasMiddlewareGroup($name); + } + + /** + * Get all of the defined middleware groups. + * + * @return array + * @static + */ + public static function getMiddlewareGroups() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getMiddlewareGroups(); + } + + /** + * Register a group of middleware. + * + * @param string $name + * @param array $middleware + * @return \Illuminate\Routing\Router + * @static + */ + public static function middlewareGroup($name, $middleware) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->middlewareGroup($name, $middleware); + } + + /** + * Add a middleware to the beginning of a middleware group. + * + * If the middleware is already in the group, it will not be added again. + * + * @param string $group + * @param string $middleware + * @return \Illuminate\Routing\Router + * @static + */ + public static function prependMiddlewareToGroup($group, $middleware) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->prependMiddlewareToGroup($group, $middleware); + } + + /** + * Add a middleware to the end of a middleware group. + * + * If the middleware is already in the group, it will not be added again. + * + * @param string $group + * @param string $middleware + * @return \Illuminate\Routing\Router + * @static + */ + public static function pushMiddlewareToGroup($group, $middleware) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->pushMiddlewareToGroup($group, $middleware); + } + + /** + * Remove the given middleware from the specified group. + * + * @param string $group + * @param string $middleware + * @return \Illuminate\Routing\Router + * @static + */ + public static function removeMiddlewareFromGroup($group, $middleware) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->removeMiddlewareFromGroup($group, $middleware); + } + + /** + * Flush the router's middleware groups. + * + * @return \Illuminate\Routing\Router + * @static + */ + public static function flushMiddlewareGroups() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->flushMiddlewareGroups(); + } + + /** + * Add a new route parameter binder. + * + * @param string $key + * @param string|callable $binder + * @return void + * @static + */ + public static function bind($key, $binder) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->bind($key, $binder); + } + + /** + * Register a model binder for a wildcard. + * + * @param string $key + * @param string $class + * @param \Closure|null $callback + * @return void + * @static + */ + public static function model($key, $class, $callback = null) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->model($key, $class, $callback); + } + + /** + * Get the binding callback for a given binding. + * + * @param string $key + * @return \Closure|null + * @static + */ + public static function getBindingCallback($key) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getBindingCallback($key); + } + + /** + * Get the global "where" patterns. + * + * @return array + * @static + */ + public static function getPatterns() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getPatterns(); + } + + /** + * Set a global where pattern on all routes. + * + * @param string $key + * @param string $pattern + * @return void + * @static + */ + public static function pattern($key, $pattern) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->pattern($key, $pattern); + } + + /** + * Set a group of global where patterns on all routes. + * + * @param array $patterns + * @return void + * @static + */ + public static function patterns($patterns) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->patterns($patterns); + } + + /** + * Determine if the router currently has a group stack. + * + * @return bool + * @static + */ + public static function hasGroupStack() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->hasGroupStack(); + } + + /** + * Get the current group stack for the router. + * + * @return array + * @static + */ + public static function getGroupStack() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getGroupStack(); + } + + /** + * Get a route parameter for the current route. + * + * @param string $key + * @param string|null $default + * @return mixed + * @static + */ + public static function input($key, $default = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->input($key, $default); + } + + /** + * Get the request currently being dispatched. + * + * @return \Illuminate\Http\Request + * @static + */ + public static function getCurrentRequest() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getCurrentRequest(); + } + + /** + * Get the currently dispatched route instance. + * + * @return \Illuminate\Routing\Route|null + * @static + */ + public static function getCurrentRoute() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getCurrentRoute(); + } + + /** + * Get the currently dispatched route instance. + * + * @return \Illuminate\Routing\Route|null + * @static + */ + public static function current() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->current(); + } + + /** + * Check if a route with the given name exists. + * + * @param string|array $name + * @return bool + * @static + */ + public static function has($name) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->has($name); + } + + /** + * Get the current route name. + * + * @return string|null + * @static + */ + public static function currentRouteName() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->currentRouteName(); + } + + /** + * Alias for the "currentRouteNamed" method. + * + * @param mixed $patterns + * @return bool + * @static + */ + public static function is(...$patterns) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->is(...$patterns); + } + + /** + * Determine if the current route matches a pattern. + * + * @param mixed $patterns + * @return bool + * @static + */ + public static function currentRouteNamed(...$patterns) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->currentRouteNamed(...$patterns); + } + + /** + * Get the current route action. + * + * @return string|null + * @static + */ + public static function currentRouteAction() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->currentRouteAction(); + } + + /** + * Alias for the "currentRouteUses" method. + * + * @param array|string $patterns + * @return bool + * @static + */ + public static function uses(...$patterns) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->uses(...$patterns); + } + + /** + * Determine if the current route action matches a given action. + * + * @param string $action + * @return bool + * @static + */ + public static function currentRouteUses($action) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->currentRouteUses($action); + } + + /** + * Set the unmapped global resource parameters to singular. + * + * @param bool $singular + * @return void + * @static + */ + public static function singularResourceParameters($singular = true) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->singularResourceParameters($singular); + } + + /** + * Set the global resource parameter mapping. + * + * @param array $parameters + * @return void + * @static + */ + public static function resourceParameters($parameters = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->resourceParameters($parameters); + } + + /** + * Get or set the verbs used in the resource URIs. + * + * @param array $verbs + * @return array|null + * @static + */ + public static function resourceVerbs($verbs = []) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->resourceVerbs($verbs); + } + + /** + * Get the underlying route collection. + * + * @return \Illuminate\Routing\RouteCollectionInterface + * @static + */ + public static function getRoutes() + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->getRoutes(); + } + + /** + * Set the route collection instance. + * + * @param \Illuminate\Routing\RouteCollection $routes + * @return void + * @static + */ + public static function setRoutes($routes) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->setRoutes($routes); + } + + /** + * Set the compiled route collection instance. + * + * @param array $routes + * @return void + * @static + */ + public static function setCompiledRoutes($routes) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->setCompiledRoutes($routes); + } + + /** + * Remove any duplicate middleware from the given array. + * + * @param array $middleware + * @return array + * @static + */ + public static function uniqueMiddleware($middleware) + { + return \Illuminate\Routing\Router::uniqueMiddleware($middleware); + } + + /** + * Set the container instance used by the router. + * + * @param \Illuminate\Container\Container $container + * @return \Illuminate\Routing\Router + * @static + */ + public static function setContainer($container) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->setContainer($container); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Routing\Router::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Routing\Router::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Routing\Router::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Routing\Router::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->macroCall($method, $parameters); + } + + /** + * Call the given Closure with this instance then return the instance. + * + * @param (callable($this): mixed)|null $callback + * @return ($callback is null ? \Illuminate\Support\HigherOrderTapProxy : $this) + * @static + */ + public static function tap($callback = null) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->tap($callback); + } + + } + /** + * + * + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes withoutOverlapping(int $expiresAt = 1440) + * @method static void mergeAttributes(\Illuminate\Console\Scheduling\Event $event) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes user(string $user) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes environments(array|mixed $environments) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes evenInMaintenanceMode() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes onOneServer() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes runInBackground() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes when(\Closure|bool $callback) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes skip(\Closure|bool $callback) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes name(string $description) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes description(string $description) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes cron(string $expression) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes between(string $startTime, string $endTime) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes unlessBetween(string $startTime, string $endTime) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everySecond() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoSeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFiveSeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTenSeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFifteenSeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwentySeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThirtySeconds() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyMinute() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThreeMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFourMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFiveMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTenMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFifteenMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThirtyMinutes() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes hourly() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes hourlyAt(array|string|int|int[] $offset) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyOddHour(array|string|int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoHours(array|string|int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThreeHours(array|string|int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFourHours(array|string|int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes everySixHours(array|string|int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes daily() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes at(string $time) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes dailyAt(string $time) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceDaily(int $first = 1, int $second = 13) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceDailyAt(int $first = 1, int $second = 13, int $offset = 0) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekdays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekends() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes mondays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes tuesdays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes wednesdays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes thursdays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes fridays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes saturdays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes sundays() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekly() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes weeklyOn(array|mixed $dayOfWeek, string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes monthly() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes monthlyOn(int $dayOfMonth = 1, string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceMonthly(int $first = 1, int $second = 16, string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes lastDayOfMonth(string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes quarterly() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes quarterlyOn(int $dayOfQuarter = 1, string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes yearly() + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes yearlyOn(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0') + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes days(array|mixed $days) + * @method static \Illuminate\Console\Scheduling\PendingEventAttributes timezone(\DateTimeZone|string $timezone) + * @see \Illuminate\Console\Scheduling\Schedule + */ + class Schedule { + /** + * Add a new callback event to the schedule. + * + * @param string|callable $callback + * @param array $parameters + * @return \Illuminate\Console\Scheduling\CallbackEvent + * @static + */ + public static function call($callback, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->call($callback, $parameters); + } + + /** + * Add a new Artisan command event to the schedule. + * + * @param string $command + * @param array $parameters + * @return \Illuminate\Console\Scheduling\Event + * @static + */ + public static function command($command, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->command($command, $parameters); + } + + /** + * Add a new job callback event to the schedule. + * + * @param object|string $job + * @param string|null $queue + * @param string|null $connection + * @return \Illuminate\Console\Scheduling\CallbackEvent + * @static + */ + public static function job($job, $queue = null, $connection = null) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->job($job, $queue, $connection); + } + + /** + * Add a new command event to the schedule. + * + * @param string $command + * @param array $parameters + * @return \Illuminate\Console\Scheduling\Event + * @static + */ + public static function exec($command, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->exec($command, $parameters); + } + + /** + * Create new schedule group. + * + * @param \Illuminate\Console\Scheduling\Event $event + * @return void + * @throws \RuntimeException + * @static + */ + public static function group($events) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + $instance->group($events); + } + + /** + * Compile array input for a command. + * + * @param string|int $key + * @param array $value + * @return string + * @static + */ + public static function compileArrayInput($key, $value) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->compileArrayInput($key, $value); + } + + /** + * Determine if the server is allowed to run this event. + * + * @param \Illuminate\Console\Scheduling\Event $event + * @param \DateTimeInterface $time + * @return bool + * @static + */ + public static function serverShouldRun($event, $time) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->serverShouldRun($event, $time); + } + + /** + * Get all of the events on the schedule that are due. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Support\Collection + * @static + */ + public static function dueEvents($app) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->dueEvents($app); + } + + /** + * Get all of the events on the schedule. + * + * @return \Illuminate\Console\Scheduling\Event[] + * @static + */ + public static function events() + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->events(); + } + + /** + * Specify the cache store that should be used to store mutexes. + * + * @param string $store + * @return \Illuminate\Console\Scheduling\Schedule + * @static + */ + public static function useCache($store) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->useCache($store); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Console\Scheduling\Schedule::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Console\Scheduling\Schedule::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Console\Scheduling\Schedule::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Console\Scheduling\Schedule::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->macroCall($method, $parameters); + } + + } + /** + * + * + * @see \Illuminate\Database\Schema\Builder + */ + class Schema { + /** + * Create a database in the schema. + * + * @param string $name + * @return bool + * @static + */ + public static function createDatabase($name) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->createDatabase($name); + } + + /** + * Drop a database from the schema if the database exists. + * + * @param string $name + * @return bool + * @static + */ + public static function dropDatabaseIfExists($name) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->dropDatabaseIfExists($name); + } + + /** + * Determine if the given table exists. + * + * @param string $table + * @return bool + * @static + */ + public static function hasTable($table) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasTable($table); + } + + /** + * Get the tables for the database. + * + * @return array + * @static + */ + public static function getTables() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTables(); + } + + /** + * Get the views for the database. + * + * @return array + * @static + */ + public static function getViews() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getViews(); + } + + /** + * Get the columns for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getColumns($table) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getColumns($table); + } + + /** + * Get the indexes for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getIndexes($table) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getIndexes($table); + } + + /** + * Get the foreign keys for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getForeignKeys($table) + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getForeignKeys($table); + } + + /** + * Drop all tables from the database. + * + * @return void + * @static + */ + public static function dropAllTables() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllTables(); + } + + /** + * Drop all views from the database. + * + * @return void + * @static + */ + public static function dropAllViews() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllViews(); + } + + /** + * Set the default string length for migrations. + * + * @param int $length + * @return void + * @static + */ + public static function defaultStringLength($length) + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); + } + + /** + * Set the default morph key type for migrations. + * + * @param string $type + * @return void + * @throws \InvalidArgumentException + * @static + */ + public static function defaultMorphKeyType($type) + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); + } + + /** + * Set the default morph key type for migrations to UUIDs. + * + * @return void + * @static + */ + public static function morphUsingUuids() + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); + } + + /** + * Set the default morph key type for migrations to ULIDs. + * + * @return void + * @static + */ + public static function morphUsingUlids() + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); + } + + /** + * Determine if the given view exists. + * + * @param string $view + * @return bool + * @static + */ + public static function hasView($view) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasView($view); + } + + /** + * Get the names of the tables that belong to the database. + * + * @return array + * @static + */ + public static function getTableListing() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTableListing(); + } + + /** + * Get the user-defined types that belong to the database. + * + * @return array + * @static + */ + public static function getTypes() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTypes(); + } + + /** + * Determine if the given table has a given column. + * + * @param string $table + * @param string $column + * @return bool + * @static + */ + public static function hasColumn($table, $column) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasColumn($table, $column); + } + + /** + * Determine if the given table has given columns. + * + * @param string $table + * @param array $columns + * @return bool + * @static + */ + public static function hasColumns($table, $columns) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasColumns($table, $columns); + } + + /** + * Execute a table builder callback if the given table has a given column. + * + * @param string $table + * @param string $column + * @param \Closure $callback + * @return void + * @static + */ + public static function whenTableHasColumn($table, $column, $callback) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->whenTableHasColumn($table, $column, $callback); + } + + /** + * Execute a table builder callback if the given table doesn't have a given column. + * + * @param string $table + * @param string $column + * @param \Closure $callback + * @return void + * @static + */ + public static function whenTableDoesntHaveColumn($table, $column, $callback) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->whenTableDoesntHaveColumn($table, $column, $callback); + } + + /** + * Get the data type for the given column name. + * + * @param string $table + * @param string $column + * @param bool $fullDefinition + * @return string + * @static + */ + public static function getColumnType($table, $column, $fullDefinition = false) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getColumnType($table, $column, $fullDefinition); + } + + /** + * Get the column listing for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getColumnListing($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getColumnListing($table); + } + + /** + * Get the names of the indexes for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getIndexListing($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getIndexListing($table); + } + + /** + * Determine if the given table has a given index. + * + * @param string $table + * @param string|array $index + * @param string|null $type + * @return bool + * @static + */ + public static function hasIndex($table, $index, $type = null) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasIndex($table, $index, $type); + } + + /** + * Modify a table on the schema. + * + * @param string $table + * @param \Closure $callback + * @return void + * @static + */ + public static function table($table, $callback) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->table($table, $callback); + } + + /** + * Create a new table on the schema. + * + * @param string $table + * @param \Closure $callback + * @return void + * @static + */ + public static function create($table, $callback) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->create($table, $callback); + } + + /** + * Drop a table from the schema. + * + * @param string $table + * @return void + * @static + */ + public static function drop($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->drop($table); + } + + /** + * Drop a table from the schema if it exists. + * + * @param string $table + * @return void + * @static + */ + public static function dropIfExists($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropIfExists($table); + } + + /** + * Drop columns from a table schema. + * + * @param string $table + * @param string|array $columns + * @return void + * @static + */ + public static function dropColumns($table, $columns) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropColumns($table, $columns); + } + + /** + * Drop all types from the database. + * + * @return void + * @throws \LogicException + * @static + */ + public static function dropAllTypes() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllTypes(); + } + + /** + * Rename a table on the schema. + * + * @param string $from + * @param string $to + * @return void + * @static + */ + public static function rename($from, $to) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->rename($from, $to); + } + + /** + * Enable foreign key constraints. + * + * @return bool + * @static + */ + public static function enableForeignKeyConstraints() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->enableForeignKeyConstraints(); + } + + /** + * Disable foreign key constraints. + * + * @return bool + * @static + */ + public static function disableForeignKeyConstraints() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->disableForeignKeyConstraints(); + } + + /** + * Disable foreign key constraints during the execution of a callback. + * + * @param \Closure $callback + * @return mixed + * @static + */ + public static function withoutForeignKeyConstraints($callback) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->withoutForeignKeyConstraints($callback); + } + + /** + * Get the database connection instance. + * + * @return \Illuminate\Database\Connection + * @static + */ + public static function getConnection() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getConnection(); + } + + /** + * Set the database connection instance. + * + * @param \Illuminate\Database\Connection $connection + * @return \Illuminate\Database\Schema\MySqlBuilder + * @static + */ + public static function setConnection($connection) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->setConnection($connection); + } + + /** + * Set the Schema Blueprint resolver callback. + * + * @param \Closure $resolver + * @return void + * @static + */ + public static function blueprintResolver($resolver) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->blueprintResolver($resolver); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + //Method inherited from \Illuminate\Database\Schema\Builder + return \Illuminate\Database\Schema\MySqlBuilder::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Session\SessionManager + */ + class Session { + /** + * Determine if requests for the same session should wait for each to finish before executing. + * + * @return bool + * @static + */ + public static function shouldBlock() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->shouldBlock(); + } + + /** + * Get the name of the cache store / driver that should be used to acquire session locks. + * + * @return string|null + * @static + */ + public static function blockDriver() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->blockDriver(); + } + + /** + * Get the maximum number of seconds the session lock should be held for. + * + * @return int + * @static + */ + public static function defaultRouteBlockLockSeconds() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->defaultRouteBlockLockSeconds(); + } + + /** + * Get the maximum number of seconds to wait while attempting to acquire a route block session lock. + * + * @return int + * @static + */ + public static function defaultRouteBlockWaitSeconds() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->defaultRouteBlockWaitSeconds(); + } + + /** + * Get the session configuration. + * + * @return array + * @static + */ + public static function getSessionConfig() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->getSessionConfig(); + } + + /** + * Get the default session driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Set the default session driver name. + * + * @param string $name + * @return void + * @static + */ + public static function setDefaultDriver($name) + { + /** @var \Illuminate\Session\SessionManager $instance */ + $instance->setDefaultDriver($name); + } + + /** + * Get a driver instance. + * + * @param string|null $driver + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function driver($driver = null) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->driver($driver); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Session\SessionManager + * @static + */ + public static function extend($driver, $callback) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Get all of the created "drivers". + * + * @return array + * @static + */ + public static function getDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->getDrivers(); + } + + /** + * Get the container instance used by the manager. + * + * @return \Illuminate\Contracts\Container\Container + * @static + */ + public static function getContainer() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->getContainer(); + } + + /** + * Set the container instance used by the manager. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Illuminate\Session\SessionManager + * @static + */ + public static function setContainer($container) + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->setContainer($container); + } + + /** + * Forget all of the resolved driver instances. + * + * @return \Illuminate\Session\SessionManager + * @static + */ + public static function forgetDrivers() + { + //Method inherited from \Illuminate\Support\Manager + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->forgetDrivers(); + } + + /** + * Start the session, reading the data from a handler. + * + * @return bool + * @static + */ + public static function start() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->start(); + } + + /** + * Save the session data to storage. + * + * @return void + * @static + */ + public static function save() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->save(); + } + + /** + * Age the flash data for the session. + * + * @return void + * @static + */ + public static function ageFlashData() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->ageFlashData(); + } + + /** + * Get all of the session data. + * + * @return array + * @static + */ + public static function all() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->all(); + } + + /** + * Get a subset of the session data. + * + * @param array $keys + * @return array + * @static + */ + public static function only($keys) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->only($keys); + } + + /** + * Get all the session data except for a specified array of items. + * + * @param array $keys + * @return array + * @static + */ + public static function except($keys) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->except($keys); + } + + /** + * Checks if a key exists. + * + * @param string|array $key + * @return bool + * @static + */ + public static function exists($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->exists($key); + } + + /** + * Determine if the given key is missing from the session data. + * + * @param string|array $key + * @return bool + * @static + */ + public static function missing($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->missing($key); + } + + /** + * Determine if a key is present and not null. + * + * @param string|array $key + * @return bool + * @static + */ + public static function has($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->has($key); + } + + /** + * Determine if any of the given keys are present and not null. + * + * @param string|array $key + * @return bool + * @static + */ + public static function hasAny($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->hasAny($key); + } + + /** + * Get an item from the session. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function get($key, $default = null) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->get($key, $default); + } + + /** + * Get the value of a given key and then forget it. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function pull($key, $default = null) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->pull($key, $default); + } + + /** + * Determine if the session contains old input. + * + * @param string|null $key + * @return bool + * @static + */ + public static function hasOldInput($key = null) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->hasOldInput($key); + } + + /** + * Get the requested item from the flashed input array. + * + * @param string|null $key + * @param mixed $default + * @return mixed + * @static + */ + public static function getOldInput($key = null, $default = null) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->getOldInput($key, $default); + } + + /** + * Replace the given session attributes entirely. + * + * @param array $attributes + * @return void + * @static + */ + public static function replace($attributes) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->replace($attributes); + } + + /** + * Put a key / value pair or array of key / value pairs in the session. + * + * @param string|array $key + * @param mixed $value + * @return void + * @static + */ + public static function put($key, $value = null) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->put($key, $value); + } + + /** + * Get an item from the session, or store the default value. + * + * @param string $key + * @param \Closure $callback + * @return mixed + * @static + */ + public static function remember($key, $callback) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->remember($key, $callback); + } + + /** + * Push a value onto a session array. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function push($key, $value) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->push($key, $value); + } + + /** + * Increment the value of an item in the session. + * + * @param string $key + * @param int $amount + * @return mixed + * @static + */ + public static function increment($key, $amount = 1) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->increment($key, $amount); + } + + /** + * Decrement the value of an item in the session. + * + * @param string $key + * @param int $amount + * @return int + * @static + */ + public static function decrement($key, $amount = 1) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->decrement($key, $amount); + } + + /** + * Flash a key / value pair to the session. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function flash($key, $value = true) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->flash($key, $value); + } + + /** + * Flash a key / value pair to the session for immediate use. + * + * @param string $key + * @param mixed $value + * @return void + * @static + */ + public static function now($key, $value) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->now($key, $value); + } + + /** + * Reflash all of the session flash data. + * + * @return void + * @static + */ + public static function reflash() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->reflash(); + } + + /** + * Reflash a subset of the current flash data. + * + * @param array|mixed $keys + * @return void + * @static + */ + public static function keep($keys = null) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->keep($keys); + } + + /** + * Flash an input array to the session. + * + * @param array $value + * @return void + * @static + */ + public static function flashInput($value) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->flashInput($value); + } + + /** + * Remove an item from the session, returning its value. + * + * @param string $key + * @return mixed + * @static + */ + public static function remove($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->remove($key); + } + + /** + * Remove one or many items from the session. + * + * @param string|array $keys + * @return void + * @static + */ + public static function forget($keys) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->forget($keys); + } + + /** + * Remove all of the items from the session. + * + * @return void + * @static + */ + public static function flush() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->flush(); + } + + /** + * Flush the session data and regenerate the ID. + * + * @return bool + * @static + */ + public static function invalidate() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->invalidate(); + } + + /** + * Generate a new session identifier. + * + * @param bool $destroy + * @return bool + * @static + */ + public static function regenerate($destroy = false) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->regenerate($destroy); + } + + /** + * Generate a new session ID for the session. + * + * @param bool $destroy + * @return bool + * @static + */ + public static function migrate($destroy = false) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->migrate($destroy); + } + + /** + * Determine if the session has been started. + * + * @return bool + * @static + */ + public static function isStarted() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->isStarted(); + } + + /** + * Get the name of the session. + * + * @return string + * @static + */ + public static function getName() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->getName(); + } + + /** + * Set the name of the session. + * + * @param string $name + * @return void + * @static + */ + public static function setName($name) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setName($name); + } + + /** + * Get the current session ID. + * + * @return string + * @static + */ + public static function id() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->id(); + } + + /** + * Get the current session ID. + * + * @return string + * @static + */ + public static function getId() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->getId(); + } + + /** + * Set the session ID. + * + * @param string|null $id + * @return void + * @static + */ + public static function setId($id) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setId($id); + } + + /** + * Determine if this is a valid session ID. + * + * @param string|null $id + * @return bool + * @static + */ + public static function isValidId($id) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->isValidId($id); + } + + /** + * Set the existence of the session on the handler if applicable. + * + * @param bool $value + * @return void + * @static + */ + public static function setExists($value) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setExists($value); + } + + /** + * Get the CSRF token value. + * + * @return string + * @static + */ + public static function token() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->token(); + } + + /** + * Regenerate the CSRF token value. + * + * @return void + * @static + */ + public static function regenerateToken() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->regenerateToken(); + } + + /** + * Determine if the previous URI is available. + * + * @return bool + * @static + */ + public static function hasPreviousUri() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->hasPreviousUri(); + } + + /** + * Get the previous URL from the session as a URI instance. + * + * @return \Illuminate\Support\Uri + * @throws \RuntimeException + * @static + */ + public static function previousUri() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->previousUri(); + } + + /** + * Get the previous URL from the session. + * + * @return string|null + * @static + */ + public static function previousUrl() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->previousUrl(); + } + + /** + * Set the "previous" URL in the session. + * + * @param string $url + * @return void + * @static + */ + public static function setPreviousUrl($url) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setPreviousUrl($url); + } + + /** + * Specify that the user has confirmed their password. + * + * @return void + * @static + */ + public static function passwordConfirmed() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->passwordConfirmed(); + } + + /** + * Get the underlying session handler implementation. + * + * @return \SessionHandlerInterface + * @static + */ + public static function getHandler() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->getHandler(); + } + + /** + * Set the underlying session handler implementation. + * + * @param \SessionHandlerInterface $handler + * @return \SessionHandlerInterface + * @static + */ + public static function setHandler($handler) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->setHandler($handler); + } + + /** + * Determine if the session handler needs a request. + * + * @return bool + * @static + */ + public static function handlerNeedsRequest() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->handlerNeedsRequest(); + } + + /** + * Set the request on the handler instance. + * + * @param \Illuminate\Http\Request $request + * @return void + * @static + */ + public static function setRequestOnHandler($request) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setRequestOnHandler($request); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Session\Store::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Session\Store::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Session\Store::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Session\Store::flushMacros(); + } + + } + /** + * + * + * @method static bool has(string $location) + * @method static string read(string $location) + * @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false) + * @method static int fileSize(string $path) + * @method static string visibility(string $path) + * @method static void write(string $location, string $contents, array $config = []) + * @method static void createDirectory(string $location, array $config = []) + * @see \Illuminate\Filesystem\FilesystemManager + */ + class Storage { + /** + * Get a filesystem instance. + * + * @param string|null $name + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function drive($name = null) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->drive($name); + } + + /** + * Get a filesystem instance. + * + * @param string|null $name + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function disk($name = null) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->disk($name); + } + + /** + * Get a default cloud filesystem instance. + * + * @return \Illuminate\Contracts\Filesystem\Cloud + * @static + */ + public static function cloud() + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->cloud(); + } + + /** + * Build an on-demand disk. + * + * @param string|array $config + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function build($config) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->build($config); + } + + /** + * Create an instance of the local driver. + * + * @param array $config + * @param string $name + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function createLocalDriver($config, $name = 'local') + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->createLocalDriver($config, $name); + } + + /** + * Create an instance of the ftp driver. + * + * @param array $config + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function createFtpDriver($config) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->createFtpDriver($config); + } + + /** + * Create an instance of the sftp driver. + * + * @param array $config + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function createSftpDriver($config) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->createSftpDriver($config); + } + + /** + * Create an instance of the Amazon S3 driver. + * + * @param array $config + * @return \Illuminate\Contracts\Filesystem\Cloud + * @static + */ + public static function createS3Driver($config) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->createS3Driver($config); + } + + /** + * Create a scoped driver. + * + * @param array $config + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function createScopedDriver($config) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->createScopedDriver($config); + } + + /** + * Set the given disk instance. + * + * @param string $name + * @param mixed $disk + * @return \Illuminate\Filesystem\FilesystemManager + * @static + */ + public static function set($name, $disk) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->set($name, $disk); + } + + /** + * Get the default driver name. + * + * @return string + * @static + */ + public static function getDefaultDriver() + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->getDefaultDriver(); + } + + /** + * Get the default cloud driver name. + * + * @return string + * @static + */ + public static function getDefaultCloudDriver() + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->getDefaultCloudDriver(); + } + + /** + * Unset the given disk instances. + * + * @param array|string $disk + * @return \Illuminate\Filesystem\FilesystemManager + * @static + */ + public static function forgetDisk($disk) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->forgetDisk($disk); + } + + /** + * Disconnect the given disk and remove from local cache. + * + * @param string|null $name + * @return void + * @static + */ + public static function purge($name = null) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + $instance->purge($name); + } + + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Illuminate\Filesystem\FilesystemManager + * @static + */ + public static function extend($driver, $callback) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->extend($driver, $callback); + } + + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Filesystem\FilesystemManager + * @static + */ + public static function setApplication($app) + { + /** @var \Illuminate\Filesystem\FilesystemManager $instance */ + return $instance->setApplication($app); + } + + /** + * Determine if temporary URLs can be generated. + * + * @return bool + * @static + */ + public static function providesTemporaryUrls() + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->providesTemporaryUrls(); + } + + /** + * Get a temporary URL for the file at the given path. + * + * @param string $path + * @param \DateTimeInterface $expiration + * @param array $options + * @return string + * @static + */ + public static function temporaryUrl($path, $expiration, $options = []) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->temporaryUrl($path, $expiration, $options); + } + + /** + * Specify the name of the disk the adapter is managing. + * + * @param string $disk + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function diskName($disk) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->diskName($disk); + } + + /** + * Indiate that signed URLs should serve the corresponding files. + * + * @param bool $serve + * @param \Closure|null $urlGeneratorResolver + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function shouldServeSignedUrls($serve = true, $urlGeneratorResolver = null) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->shouldServeSignedUrls($serve, $urlGeneratorResolver); + } + + /** + * Assert that the given file or directory exists. + * + * @param string|array $path + * @param string|null $content + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function assertExists($path, $content = null) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->assertExists($path, $content); + } + + /** + * Assert that the number of files in path equals the expected count. + * + * @param string $path + * @param int $count + * @param bool $recursive + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function assertCount($path, $count, $recursive = false) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->assertCount($path, $count, $recursive); + } + + /** + * Assert that the given file or directory does not exist. + * + * @param string|array $path + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function assertMissing($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->assertMissing($path); + } + + /** + * Assert that the given directory is empty. + * + * @param string $path + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static + */ + public static function assertDirectoryEmpty($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->assertDirectoryEmpty($path); + } + + /** + * Determine if a file or directory exists. + * + * @param string $path + * @return bool + * @static + */ + public static function exists($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->exists($path); + } + + /** + * Determine if a file or directory is missing. + * + * @param string $path + * @return bool + * @static + */ + public static function missing($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->missing($path); + } + + /** + * Determine if a file exists. + * + * @param string $path + * @return bool + * @static + */ + public static function fileExists($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->fileExists($path); + } + + /** + * Determine if a file is missing. + * + * @param string $path + * @return bool + * @static + */ + public static function fileMissing($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->fileMissing($path); + } + + /** + * Determine if a directory exists. + * + * @param string $path + * @return bool + * @static + */ + public static function directoryExists($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->directoryExists($path); + } + + /** + * Determine if a directory is missing. + * + * @param string $path + * @return bool + * @static + */ + public static function directoryMissing($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->directoryMissing($path); + } + + /** + * Get the full path to the file that exists at the given relative path. + * + * @param string $path + * @return string + * @static + */ + public static function path($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->path($path); + } + + /** + * Get the contents of a file. + * + * @param string $path + * @return string|null + * @static + */ + public static function get($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->get($path); + } + + /** + * Get the contents of a file as decoded JSON. + * + * @param string $path + * @param int $flags + * @return array|null + * @static + */ + public static function json($path, $flags = 0) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->json($path, $flags); + } + + /** + * Create a streamed response for a given file. + * + * @param string $path + * @param string|null $name + * @param array $headers + * @param string|null $disposition + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static + */ + public static function response($path, $name = null, $headers = [], $disposition = 'inline') + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->response($path, $name, $headers, $disposition); + } + + /** + * Create a streamed download response for a given file. + * + * @param \Illuminate\Http\Request $request + * @param string $path + * @param string|null $name + * @param array $headers + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static + */ + public static function serve($request, $path, $name = null, $headers = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->serve($request, $path, $name, $headers); + } + + /** + * Create a streamed download response for a given file. + * + * @param string $path + * @param string|null $name + * @param array $headers + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static + */ + public static function download($path, $name = null, $headers = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->download($path, $name, $headers); + } + + /** + * Write the contents of a file. + * + * @param string $path + * @param \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents + * @param mixed $options + * @return string|bool + * @static + */ + public static function put($path, $contents, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->put($path, $contents, $options); + } + + /** + * Store the uploaded file on the disk. + * + * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path + * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file + * @param mixed $options + * @return string|false + * @static + */ + public static function putFile($path, $file = null, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->putFile($path, $file, $options); + } + + /** + * Store the uploaded file on the disk with a given name. + * + * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path + * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file + * @param string|array|null $name + * @param mixed $options + * @return string|false + * @static + */ + public static function putFileAs($path, $file, $name = null, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->putFileAs($path, $file, $name, $options); + } + + /** + * Get the visibility for the given path. + * + * @param string $path + * @return string + * @static + */ + public static function getVisibility($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->getVisibility($path); + } + + /** + * Set the visibility for the given path. + * + * @param string $path + * @param string $visibility + * @return bool + * @static + */ + public static function setVisibility($path, $visibility) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->setVisibility($path, $visibility); + } + + /** + * Prepend to a file. + * + * @param string $path + * @param string $data + * @param string $separator + * @return bool + * @static + */ + public static function prepend($path, $data, $separator = ' +') + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->prepend($path, $data, $separator); + } + + /** + * Append to a file. + * + * @param string $path + * @param string $data + * @param string $separator + * @return bool + * @static + */ + public static function append($path, $data, $separator = ' +') + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->append($path, $data, $separator); + } + + /** + * Delete the file at a given path. + * + * @param string|array $paths + * @return bool + * @static + */ + public static function delete($paths) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->delete($paths); + } + + /** + * Copy a file to a new location. + * + * @param string $from + * @param string $to + * @return bool + * @static + */ + public static function copy($from, $to) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->copy($from, $to); + } + + /** + * Move a file to a new location. + * + * @param string $from + * @param string $to + * @return bool + * @static + */ + public static function move($from, $to) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->move($from, $to); + } + + /** + * Get the file size of a given file. + * + * @param string $path + * @return int + * @static + */ + public static function size($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->size($path); + } + + /** + * Get the checksum for a file. + * + * @return string|false + * @throws UnableToProvideChecksum + * @static + */ + public static function checksum($path, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->checksum($path, $options); + } + + /** + * Get the mime-type of a given file. + * + * @param string $path + * @return string|false + * @static + */ + public static function mimeType($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->mimeType($path); + } + + /** + * Get the file's last modification time. + * + * @param string $path + * @return int + * @static + */ + public static function lastModified($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->lastModified($path); + } + + /** + * Get a resource to read the file. + * + * @param string $path + * @return resource|null The path resource or null on failure. + * @static + */ + public static function readStream($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->readStream($path); + } + + /** + * Write a new file using a stream. + * + * @param string $path + * @param resource $resource + * @param array $options + * @return bool + * @static + */ + public static function writeStream($path, $resource, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->writeStream($path, $resource, $options); + } + + /** + * Get the URL for the file at the given path. + * + * @param string $path + * @return string + * @throws \RuntimeException + * @static + */ + public static function url($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->url($path); + } + + /** + * Get a temporary upload URL for the file at the given path. + * + * @param string $path + * @param \DateTimeInterface $expiration + * @param array $options + * @return array + * @throws \RuntimeException + * @static + */ + public static function temporaryUploadUrl($path, $expiration, $options = []) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->temporaryUploadUrl($path, $expiration, $options); + } + + /** + * Get an array of all files in a directory. + * + * @param string|null $directory + * @param bool $recursive + * @return array + * @static + */ + public static function files($directory = null, $recursive = false) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->files($directory, $recursive); + } + + /** + * Get all of the files from the given directory (recursive). + * + * @param string|null $directory + * @return array + * @static + */ + public static function allFiles($directory = null) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->allFiles($directory); + } + + /** + * Get all of the directories within a given directory. + * + * @param string|null $directory + * @param bool $recursive + * @return array + * @static + */ + public static function directories($directory = null, $recursive = false) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->directories($directory, $recursive); + } + + /** + * Get all the directories within a given directory (recursive). + * + * @param string|null $directory + * @return array + * @static + */ + public static function allDirectories($directory = null) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->allDirectories($directory); + } + + /** + * Create a directory. + * + * @param string $path + * @return bool + * @static + */ + public static function makeDirectory($path) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->makeDirectory($path); + } + + /** + * Recursively delete a directory. + * + * @param string $directory + * @return bool + * @static + */ + public static function deleteDirectory($directory) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->deleteDirectory($directory); + } + + /** + * Get the Flysystem driver. + * + * @return \League\Flysystem\FilesystemOperator + * @static + */ + public static function getDriver() + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->getDriver(); + } + + /** + * Get the Flysystem adapter. + * + * @return \League\Flysystem\FilesystemAdapter + * @static + */ + public static function getAdapter() + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->getAdapter(); + } + + /** + * Get the configuration values. + * + * @return array + * @static + */ + public static function getConfig() + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->getConfig(); + } + + /** + * Define a custom callback that generates file download responses. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function serveUsing($callback) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + $instance->serveUsing($callback); + } + + /** + * Define a custom temporary URL builder callback. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function buildTemporaryUrlsUsing($callback) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + $instance->buildTemporaryUrlsUsing($callback); + } + + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|TWhenReturnType + * @static + */ + public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->when($value, $callback, $default); + } + + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|TUnlessReturnType + * @static + */ + public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->unless($value, $callback, $default); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + \Illuminate\Filesystem\LocalFilesystemAdapter::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + \Illuminate\Filesystem\LocalFilesystemAdapter::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + return \Illuminate\Filesystem\LocalFilesystemAdapter::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + \Illuminate\Filesystem\LocalFilesystemAdapter::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->macroCall($method, $parameters); + } + + } + /** + * + * + * @see \Illuminate\Routing\UrlGenerator + */ + class URL { + /** + * Get the full URL for the current request. + * + * @return string + * @static + */ + public static function full() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->full(); + } + + /** + * Get the current URL for the request. + * + * @return string + * @static + */ + public static function current() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->current(); + } + + /** + * Get the URL for the previous request. + * + * @param mixed $fallback + * @return string + * @static + */ + public static function previous($fallback = false) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->previous($fallback); + } + + /** + * Get the previous path info for the request. + * + * @param mixed $fallback + * @return string + * @static + */ + public static function previousPath($fallback = false) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->previousPath($fallback); + } + + /** + * Generate an absolute URL to the given path. + * + * @param string $path + * @param mixed $extra + * @param bool|null $secure + * @return string + * @static + */ + public static function to($path, $extra = [], $secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->to($path, $extra, $secure); + } + + /** + * Generate an absolute URL with the given query parameters. + * + * @param string $path + * @param array $query + * @param mixed $extra + * @param bool|null $secure + * @return string + * @static + */ + public static function query($path, $query = [], $extra = [], $secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->query($path, $query, $extra, $secure); + } + + /** + * Generate a secure, absolute URL to the given path. + * + * @param string $path + * @param array $parameters + * @return string + * @static + */ + public static function secure($path, $parameters = []) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->secure($path, $parameters); + } + + /** + * Generate the URL to an application asset. + * + * @param string $path + * @param bool|null $secure + * @return string + * @static + */ + public static function asset($path, $secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->asset($path, $secure); + } + + /** + * Generate the URL to a secure asset. + * + * @param string $path + * @return string + * @static + */ + public static function secureAsset($path) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->secureAsset($path); + } + + /** + * Generate the URL to an asset from a custom root domain such as CDN, etc. + * + * @param string $root + * @param string $path + * @param bool|null $secure + * @return string + * @static + */ + public static function assetFrom($root, $path, $secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->assetFrom($root, $path, $secure); + } + + /** + * Get the default scheme for a raw URL. + * + * @param bool|null $secure + * @return string + * @static + */ + public static function formatScheme($secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->formatScheme($secure); + } + + /** + * Create a signed route URL for a named route. + * + * @param \BackedEnum|string $name + * @param mixed $parameters + * @param \DateTimeInterface|\DateInterval|int|null $expiration + * @param bool $absolute + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function signedRoute($name, $parameters = [], $expiration = null, $absolute = true) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->signedRoute($name, $parameters, $expiration, $absolute); + } + + /** + * Create a temporary signed route URL for a named route. + * + * @param \BackedEnum|string $name + * @param \DateTimeInterface|\DateInterval|int $expiration + * @param array $parameters + * @param bool $absolute + * @return string + * @static + */ + public static function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->temporarySignedRoute($name, $expiration, $parameters, $absolute); + } + + /** + * Determine if the given request has a valid signature. + * + * @param \Illuminate\Http\Request $request + * @param bool $absolute + * @param array $ignoreQuery + * @return bool + * @static + */ + public static function hasValidSignature($request, $absolute = true, $ignoreQuery = []) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->hasValidSignature($request, $absolute, $ignoreQuery); + } + + /** + * Determine if the given request has a valid signature for a relative URL. + * + * @param \Illuminate\Http\Request $request + * @param array $ignoreQuery + * @return bool + * @static + */ + public static function hasValidRelativeSignature($request, $ignoreQuery = []) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->hasValidRelativeSignature($request, $ignoreQuery); + } + + /** + * Determine if the signature from the given request matches the URL. + * + * @param \Illuminate\Http\Request $request + * @param bool $absolute + * @param array $ignoreQuery + * @return bool + * @static + */ + public static function hasCorrectSignature($request, $absolute = true, $ignoreQuery = []) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->hasCorrectSignature($request, $absolute, $ignoreQuery); + } + + /** + * Determine if the expires timestamp from the given request is not from the past. + * + * @param \Illuminate\Http\Request $request + * @return bool + * @static + */ + public static function signatureHasNotExpired($request) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->signatureHasNotExpired($request); + } + + /** + * Get the URL to a named route. + * + * @param \BackedEnum|string $name + * @param mixed $parameters + * @param bool $absolute + * @return string + * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException|\InvalidArgumentException + * @static + */ + public static function route($name, $parameters = [], $absolute = true) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->route($name, $parameters, $absolute); + } + + /** + * Get the URL for a given route instance. + * + * @param \Illuminate\Routing\Route $route + * @param mixed $parameters + * @param bool $absolute + * @return string + * @throws \Illuminate\Routing\Exceptions\UrlGenerationException + * @static + */ + public static function toRoute($route, $parameters, $absolute) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->toRoute($route, $parameters, $absolute); + } + + /** + * Get the URL to a controller action. + * + * @param string|array $action + * @param mixed $parameters + * @param bool $absolute + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function action($action, $parameters = [], $absolute = true) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->action($action, $parameters, $absolute); + } + + /** + * Format the array of URL parameters. + * + * @param mixed $parameters + * @return array + * @static + */ + public static function formatParameters($parameters) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->formatParameters($parameters); + } + + /** + * Get the base URL for the request. + * + * @param string $scheme + * @param string|null $root + * @return string + * @static + */ + public static function formatRoot($scheme, $root = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->formatRoot($scheme, $root); + } + + /** + * Format the given URL segments into a single URL. + * + * @param string $root + * @param string $path + * @param \Illuminate\Routing\Route|null $route + * @return string + * @static + */ + public static function format($root, $path, $route = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->format($root, $path, $route); + } + + /** + * Determine if the given path is a valid URL. + * + * @param string $path + * @return bool + * @static + */ + public static function isValidUrl($path) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->isValidUrl($path); + } + + /** + * Set the default named parameters used by the URL generator. + * + * @param array $defaults + * @return void + * @static + */ + public static function defaults($defaults) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->defaults($defaults); + } + + /** + * Get the default named parameters used by the URL generator. + * + * @return array + * @static + */ + public static function getDefaultParameters() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->getDefaultParameters(); + } + + /** + * Force the scheme for URLs. + * + * @param string|null $scheme + * @return void + * @static + */ + public static function forceScheme($scheme) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->forceScheme($scheme); + } + + /** + * Force the use of the HTTPS scheme for all generated URLs. + * + * @param bool $force + * @return void + * @static + */ + public static function forceHttps($force = true) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->forceHttps($force); + } + + /** + * Set the URL origin for all generated URLs. + * + * @param string|null $root + * @return void + * @static + */ + public static function useOrigin($root) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->useOrigin($root); + } + + /** + * Set the forced root URL. + * + * @param string|null $root + * @return void + * @deprecated Use useOrigin + * @static + */ + public static function forceRootUrl($root) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->forceRootUrl($root); + } + + /** + * Set the URL origin for all generated asset URLs. + * + * @param string|null $root + * @return void + * @static + */ + public static function useAssetOrigin($root) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->useAssetOrigin($root); + } + + /** + * Set a callback to be used to format the host of generated URLs. + * + * @param \Closure $callback + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function formatHostUsing($callback) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->formatHostUsing($callback); + } + + /** + * Set a callback to be used to format the path of generated URLs. + * + * @param \Closure $callback + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function formatPathUsing($callback) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->formatPathUsing($callback); + } + + /** + * Get the path formatter being used by the URL generator. + * + * @return \Closure + * @static + */ + public static function pathFormatter() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->pathFormatter(); + } + + /** + * Get the request instance. + * + * @return \Illuminate\Http\Request + * @static + */ + public static function getRequest() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->getRequest(); + } + + /** + * Set the current request instance. + * + * @param \Illuminate\Http\Request $request + * @return void + * @static + */ + public static function setRequest($request) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + $instance->setRequest($request); + } + + /** + * Set the route collection. + * + * @param \Illuminate\Routing\RouteCollectionInterface $routes + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function setRoutes($routes) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->setRoutes($routes); + } + + /** + * Set the session resolver for the generator. + * + * @param callable $sessionResolver + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function setSessionResolver($sessionResolver) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->setSessionResolver($sessionResolver); + } + + /** + * Set the encryption key resolver. + * + * @param callable $keyResolver + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function setKeyResolver($keyResolver) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->setKeyResolver($keyResolver); + } + + /** + * Clone a new instance of the URL generator with a different encryption key resolver. + * + * @param callable $keyResolver + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function withKeyResolver($keyResolver) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->withKeyResolver($keyResolver); + } + + /** + * Set the callback that should be used to attempt to resolve missing named routes. + * + * @param callable $missingNamedRouteResolver + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->resolveMissingNamedRoutesUsing($missingNamedRouteResolver); + } + + /** + * Get the root controller namespace. + * + * @return string + * @static + */ + public static function getRootControllerNamespace() + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->getRootControllerNamespace(); + } + + /** + * Set the root controller namespace. + * + * @param string $rootNamespace + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function setRootControllerNamespace($rootNamespace) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->setRootControllerNamespace($rootNamespace); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Routing\UrlGenerator::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Routing\UrlGenerator::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Routing\UrlGenerator::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Routing\UrlGenerator::flushMacros(); + } + + } + /** + * + * + * @see \Illuminate\Validation\Factory + */ + class Validator { + /** + * Create a new Validator instance. + * + * @param array $data + * @param array $rules + * @param array $messages + * @param array $attributes + * @return \Illuminate\Validation\Validator + * @static + */ + public static function make($data, $rules, $messages = [], $attributes = []) + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->make($data, $rules, $messages, $attributes); + } + + /** + * Validate the given data against the provided rules. + * + * @param array $data + * @param array $rules + * @param array $messages + * @param array $attributes + * @return array + * @throws \Illuminate\Validation\ValidationException + * @static + */ + public static function validate($data, $rules, $messages = [], $attributes = []) + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->validate($data, $rules, $messages, $attributes); + } + + /** + * Register a custom validator extension. + * + * @param string $rule + * @param \Closure|string $extension + * @param string|null $message + * @return void + * @static + */ + public static function extend($rule, $extension, $message = null) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->extend($rule, $extension, $message); + } + + /** + * Register a custom implicit validator extension. + * + * @param string $rule + * @param \Closure|string $extension + * @param string|null $message + * @return void + * @static + */ + public static function extendImplicit($rule, $extension, $message = null) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->extendImplicit($rule, $extension, $message); + } + + /** + * Register a custom dependent validator extension. + * + * @param string $rule + * @param \Closure|string $extension + * @param string|null $message + * @return void + * @static + */ + public static function extendDependent($rule, $extension, $message = null) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->extendDependent($rule, $extension, $message); + } + + /** + * Register a custom validator message replacer. + * + * @param string $rule + * @param \Closure|string $replacer + * @return void + * @static + */ + public static function replacer($rule, $replacer) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->replacer($rule, $replacer); + } + + /** + * Indicate that unvalidated array keys should be included in validated data when the parent array is validated. + * + * @return void + * @static + */ + public static function includeUnvalidatedArrayKeys() + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->includeUnvalidatedArrayKeys(); + } + + /** + * Indicate that unvalidated array keys should be excluded from the validated data, even if the parent array was validated. + * + * @return void + * @static + */ + public static function excludeUnvalidatedArrayKeys() + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->excludeUnvalidatedArrayKeys(); + } + + /** + * Set the Validator instance resolver. + * + * @param \Closure $resolver + * @return void + * @static + */ + public static function resolver($resolver) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->resolver($resolver); + } + + /** + * Get the Translator implementation. + * + * @return \Illuminate\Contracts\Translation\Translator + * @static + */ + public static function getTranslator() + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->getTranslator(); + } + + /** + * Get the Presence Verifier implementation. + * + * @return \Illuminate\Validation\PresenceVerifierInterface + * @static + */ + public static function getPresenceVerifier() + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->getPresenceVerifier(); + } + + /** + * Set the Presence Verifier implementation. + * + * @param \Illuminate\Validation\PresenceVerifierInterface $presenceVerifier + * @return void + * @static + */ + public static function setPresenceVerifier($presenceVerifier) + { + /** @var \Illuminate\Validation\Factory $instance */ + $instance->setPresenceVerifier($presenceVerifier); + } + + /** + * Get the container instance used by the validation factory. + * + * @return \Illuminate\Contracts\Container\Container|null + * @static + */ + public static function getContainer() + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->getContainer(); + } + + /** + * Set the container instance used by the validation factory. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Illuminate\Validation\Factory + * @static + */ + public static function setContainer($container) + { + /** @var \Illuminate\Validation\Factory $instance */ + return $instance->setContainer($container); + } + + } + /** + * + * + * @see \Illuminate\View\Factory + */ + class View { + /** + * Get the evaluated view contents for the given view. + * + * @param string $path + * @param \Illuminate\Contracts\Support\Arrayable|array $data + * @param array $mergeData + * @return \Illuminate\Contracts\View\View + * @static + */ + public static function file($path, $data = [], $mergeData = []) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->file($path, $data, $mergeData); + } + + /** + * Get the evaluated view contents for the given view. + * + * @param string $view + * @param \Illuminate\Contracts\Support\Arrayable|array $data + * @param array $mergeData + * @return \Illuminate\Contracts\View\View + * @static + */ + public static function make($view, $data = [], $mergeData = []) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->make($view, $data, $mergeData); + } + + /** + * Get the first view that actually exists from the given list. + * + * @param array $views + * @param \Illuminate\Contracts\Support\Arrayable|array $data + * @param array $mergeData + * @return \Illuminate\Contracts\View\View + * @throws \InvalidArgumentException + * @static + */ + public static function first($views, $data = [], $mergeData = []) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->first($views, $data, $mergeData); + } + + /** + * Get the rendered content of the view based on a given condition. + * + * @param bool $condition + * @param string $view + * @param \Illuminate\Contracts\Support\Arrayable|array $data + * @param array $mergeData + * @return string + * @static + */ + public static function renderWhen($condition, $view, $data = [], $mergeData = []) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->renderWhen($condition, $view, $data, $mergeData); + } + + /** + * Get the rendered content of the view based on the negation of a given condition. + * + * @param bool $condition + * @param string $view + * @param \Illuminate\Contracts\Support\Arrayable|array $data + * @param array $mergeData + * @return string + * @static + */ + public static function renderUnless($condition, $view, $data = [], $mergeData = []) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->renderUnless($condition, $view, $data, $mergeData); + } + + /** + * Get the rendered contents of a partial from a loop. + * + * @param string $view + * @param array $data + * @param string $iterator + * @param string $empty + * @return string + * @static + */ + public static function renderEach($view, $data, $iterator, $empty = 'raw|') + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->renderEach($view, $data, $iterator, $empty); + } + + /** + * Determine if a given view exists. + * + * @param string $view + * @return bool + * @static + */ + public static function exists($view) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->exists($view); + } + + /** + * Get the appropriate view engine for the given path. + * + * @param string $path + * @return \Illuminate\Contracts\View\Engine + * @throws \InvalidArgumentException + * @static + */ + public static function getEngineFromPath($path) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getEngineFromPath($path); + } + + /** + * Add a piece of shared data to the environment. + * + * @param array|string $key + * @param mixed|null $value + * @return mixed + * @static + */ + public static function share($key, $value = null) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->share($key, $value); + } + + /** + * Increment the rendering counter. + * + * @return void + * @static + */ + public static function incrementRender() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->incrementRender(); + } + + /** + * Decrement the rendering counter. + * + * @return void + * @static + */ + public static function decrementRender() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->decrementRender(); + } + + /** + * Check if there are no active render operations. + * + * @return bool + * @static + */ + public static function doneRendering() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->doneRendering(); + } + + /** + * Determine if the given once token has been rendered. + * + * @param string $id + * @return bool + * @static + */ + public static function hasRenderedOnce($id) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->hasRenderedOnce($id); + } + + /** + * Mark the given once token as having been rendered. + * + * @param string $id + * @return void + * @static + */ + public static function markAsRenderedOnce($id) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->markAsRenderedOnce($id); + } + + /** + * Add a location to the array of view locations. + * + * @param string $location + * @return void + * @static + */ + public static function addLocation($location) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->addLocation($location); + } + + /** + * Prepend a location to the array of view locations. + * + * @param string $location + * @return void + * @static + */ + public static function prependLocation($location) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->prependLocation($location); + } + + /** + * Add a new namespace to the loader. + * + * @param string $namespace + * @param string|array $hints + * @return \Illuminate\View\Factory + * @static + */ + public static function addNamespace($namespace, $hints) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->addNamespace($namespace, $hints); + } + + /** + * Prepend a new namespace to the loader. + * + * @param string $namespace + * @param string|array $hints + * @return \Illuminate\View\Factory + * @static + */ + public static function prependNamespace($namespace, $hints) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->prependNamespace($namespace, $hints); + } + + /** + * Replace the namespace hints for the given namespace. + * + * @param string $namespace + * @param string|array $hints + * @return \Illuminate\View\Factory + * @static + */ + public static function replaceNamespace($namespace, $hints) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->replaceNamespace($namespace, $hints); + } + + /** + * Register a valid view extension and its engine. + * + * @param string $extension + * @param string $engine + * @param \Closure|null $resolver + * @return void + * @static + */ + public static function addExtension($extension, $engine, $resolver = null) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->addExtension($extension, $engine, $resolver); + } + + /** + * Flush all of the factory state like sections and stacks. + * + * @return void + * @static + */ + public static function flushState() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushState(); + } + + /** + * Flush all of the section contents if done rendering. + * + * @return void + * @static + */ + public static function flushStateIfDoneRendering() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushStateIfDoneRendering(); + } + + /** + * Get the extension to engine bindings. + * + * @return array + * @static + */ + public static function getExtensions() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getExtensions(); + } + + /** + * Get the engine resolver instance. + * + * @return \Illuminate\View\Engines\EngineResolver + * @static + */ + public static function getEngineResolver() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getEngineResolver(); + } + + /** + * Get the view finder instance. + * + * @return \Illuminate\View\ViewFinderInterface + * @static + */ + public static function getFinder() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getFinder(); + } + + /** + * Set the view finder instance. + * + * @param \Illuminate\View\ViewFinderInterface $finder + * @return void + * @static + */ + public static function setFinder($finder) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->setFinder($finder); + } + + /** + * Flush the cache of views located by the finder. + * + * @return void + * @static + */ + public static function flushFinderCache() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushFinderCache(); + } + + /** + * Get the event dispatcher instance. + * + * @return \Illuminate\Contracts\Events\Dispatcher + * @static + */ + public static function getDispatcher() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getDispatcher(); + } + + /** + * Set the event dispatcher instance. + * + * @param \Illuminate\Contracts\Events\Dispatcher $events + * @return void + * @static + */ + public static function setDispatcher($events) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->setDispatcher($events); + } + + /** + * Get the IoC container instance. + * + * @return \Illuminate\Contracts\Container\Container + * @static + */ + public static function getContainer() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getContainer(); + } + + /** + * Set the IoC container instance. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return void + * @static + */ + public static function setContainer($container) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->setContainer($container); + } + + /** + * Get an item from the shared data. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ + public static function shared($key, $default = null) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->shared($key, $default); + } + + /** + * Get all of the shared data for the environment. + * + * @return array + * @static + */ + public static function getShared() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getShared(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\View\Factory::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\View\Factory::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\View\Factory::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\View\Factory::flushMacros(); + } + + /** + * Start a component rendering process. + * + * @param \Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view + * @param array $data + * @return void + * @static + */ + public static function startComponent($view, $data = []) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startComponent($view, $data); + } + + /** + * Get the first view that actually exists from the given list, and start a component. + * + * @param array $names + * @param array $data + * @return void + * @static + */ + public static function startComponentFirst($names, $data = []) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startComponentFirst($names, $data); + } + + /** + * Render the current component. + * + * @return string + * @static + */ + public static function renderComponent() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->renderComponent(); + } + + /** + * Get an item from the component data that exists above the current component. + * + * @param string $key + * @param mixed $default + * @return mixed|null + * @static + */ + public static function getConsumableComponentData($key, $default = null) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getConsumableComponentData($key, $default); + } + + /** + * Start the slot rendering process. + * + * @param string $name + * @param string|null $content + * @param array $attributes + * @return void + * @static + */ + public static function slot($name, $content = null, $attributes = []) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->slot($name, $content, $attributes); + } + + /** + * Save the slot content for rendering. + * + * @return void + * @static + */ + public static function endSlot() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->endSlot(); + } + + /** + * Register a view creator event. + * + * @param array|string $views + * @param \Closure|string $callback + * @return array + * @static + */ + public static function creator($views, $callback) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->creator($views, $callback); + } + + /** + * Register multiple view composers via an array. + * + * @param array $composers + * @return array + * @static + */ + public static function composers($composers) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->composers($composers); + } + + /** + * Register a view composer event. + * + * @param array|string $views + * @param \Closure|string $callback + * @return array + * @static + */ + public static function composer($views, $callback) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->composer($views, $callback); + } + + /** + * Call the composer for a given view. + * + * @param \Illuminate\Contracts\View\View $view + * @return void + * @static + */ + public static function callComposer($view) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->callComposer($view); + } + + /** + * Call the creator for a given view. + * + * @param \Illuminate\Contracts\View\View $view + * @return void + * @static + */ + public static function callCreator($view) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->callCreator($view); + } + + /** + * Start injecting content into a fragment. + * + * @param string $fragment + * @return void + * @static + */ + public static function startFragment($fragment) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startFragment($fragment); + } + + /** + * Stop injecting content into a fragment. + * + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function stopFragment() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->stopFragment(); + } + + /** + * Get the contents of a fragment. + * + * @param string $name + * @param string|null $default + * @return mixed + * @static + */ + public static function getFragment($name, $default = null) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getFragment($name, $default); + } + + /** + * Get the entire array of rendered fragments. + * + * @return array + * @static + */ + public static function getFragments() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getFragments(); + } + + /** + * Flush all of the fragments. + * + * @return void + * @static + */ + public static function flushFragments() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushFragments(); + } + + /** + * Start injecting content into a section. + * + * @param string $section + * @param string|null $content + * @return void + * @static + */ + public static function startSection($section, $content = null) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startSection($section, $content); + } + + /** + * Inject inline content into a section. + * + * @param string $section + * @param string $content + * @return void + * @static + */ + public static function inject($section, $content) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->inject($section, $content); + } + + /** + * Stop injecting content into a section and return its contents. + * + * @return string + * @static + */ + public static function yieldSection() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->yieldSection(); + } + + /** + * Stop injecting content into a section. + * + * @param bool $overwrite + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function stopSection($overwrite = false) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->stopSection($overwrite); + } + + /** + * Stop injecting content into a section and append it. + * + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function appendSection() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->appendSection(); + } + + /** + * Get the string contents of a section. + * + * @param string $section + * @param string $default + * @return string + * @static + */ + public static function yieldContent($section, $default = '') + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->yieldContent($section, $default); + } + + /** + * Get the parent placeholder for the current request. + * + * @param string $section + * @return string + * @static + */ + public static function parentPlaceholder($section = '') + { + return \Illuminate\View\Factory::parentPlaceholder($section); + } + + /** + * Check if section exists. + * + * @param string $name + * @return bool + * @static + */ + public static function hasSection($name) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->hasSection($name); + } + + /** + * Check if section does not exist. + * + * @param string $name + * @return bool + * @static + */ + public static function sectionMissing($name) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->sectionMissing($name); + } + + /** + * Get the contents of a section. + * + * @param string $name + * @param string|null $default + * @return mixed + * @static + */ + public static function getSection($name, $default = null) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getSection($name, $default); + } + + /** + * Get the entire array of sections. + * + * @return array + * @static + */ + public static function getSections() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getSections(); + } + + /** + * Flush all of the sections. + * + * @return void + * @static + */ + public static function flushSections() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushSections(); + } + + /** + * Add new loop to the stack. + * + * @param \Countable|array $data + * @return void + * @static + */ + public static function addLoop($data) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->addLoop($data); + } + + /** + * Increment the top loop's indices. + * + * @return void + * @static + */ + public static function incrementLoopIndices() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->incrementLoopIndices(); + } + + /** + * Pop a loop from the top of the loop stack. + * + * @return void + * @static + */ + public static function popLoop() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->popLoop(); + } + + /** + * Get an instance of the last loop in the stack. + * + * @return \stdClass|null + * @static + */ + public static function getLastLoop() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getLastLoop(); + } + + /** + * Get the entire loop stack. + * + * @return array + * @static + */ + public static function getLoopStack() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->getLoopStack(); + } + + /** + * Start injecting content into a push section. + * + * @param string $section + * @param string $content + * @return void + * @static + */ + public static function startPush($section, $content = '') + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startPush($section, $content); + } + + /** + * Stop injecting content into a push section. + * + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function stopPush() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->stopPush(); + } + + /** + * Start prepending content into a push section. + * + * @param string $section + * @param string $content + * @return void + * @static + */ + public static function startPrepend($section, $content = '') + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startPrepend($section, $content); + } + + /** + * Stop prepending content into a push section. + * + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function stopPrepend() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->stopPrepend(); + } + + /** + * Get the string contents of a push section. + * + * @param string $section + * @param string $default + * @return string + * @static + */ + public static function yieldPushContent($section, $default = '') + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->yieldPushContent($section, $default); + } + + /** + * Flush all of the stacks. + * + * @return void + * @static + */ + public static function flushStacks() + { + /** @var \Illuminate\View\Factory $instance */ + $instance->flushStacks(); + } + + /** + * Start a translation block. + * + * @param array $replacements + * @return void + * @static + */ + public static function startTranslation($replacements = []) + { + /** @var \Illuminate\View\Factory $instance */ + $instance->startTranslation($replacements); + } + + /** + * Render the current translation. + * + * @return string + * @static + */ + public static function renderTranslation() + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->renderTranslation(); + } + + } + /** + * + * + * @see \Illuminate\Foundation\Vite + */ + class Vite { + /** + * Get the preloaded assets. + * + * @return array + * @static + */ + public static function preloadedAssets() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->preloadedAssets(); + } + + /** + * Get the Content Security Policy nonce applied to all generated tags. + * + * @return string|null + * @static + */ + public static function cspNonce() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->cspNonce(); + } + + /** + * Generate or set a Content Security Policy nonce to apply to all generated tags. + * + * @param string|null $nonce + * @return string + * @static + */ + public static function useCspNonce($nonce = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useCspNonce($nonce); + } + + /** + * Use the given key to detect integrity hashes in the manifest. + * + * @param string|false $key + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useIntegrityKey($key) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useIntegrityKey($key); + } + + /** + * Set the Vite entry points. + * + * @param array $entryPoints + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function withEntryPoints($entryPoints) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->withEntryPoints($entryPoints); + } + + /** + * Merge additional Vite entry points with the current set. + * + * @param array $entryPoints + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function mergeEntryPoints($entryPoints) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->mergeEntryPoints($entryPoints); + } + + /** + * Set the filename for the manifest file. + * + * @param string $filename + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useManifestFilename($filename) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useManifestFilename($filename); + } + + /** + * Resolve asset paths using the provided resolver. + * + * @param callable|null $resolver + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function createAssetPathsUsing($resolver) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->createAssetPathsUsing($resolver); + } + + /** + * Get the Vite "hot" file path. + * + * @return string + * @static + */ + public static function hotFile() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->hotFile(); + } + + /** + * Set the Vite "hot" file path. + * + * @param string $path + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useHotFile($path) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useHotFile($path); + } + + /** + * Set the Vite build directory. + * + * @param string $path + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useBuildDirectory($path) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useBuildDirectory($path); + } + + /** + * Use the given callback to resolve attributes for script tags. + * + * @param (callable(string, string, ?array, ?array): array)|array $attributes + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useScriptTagAttributes($attributes) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useScriptTagAttributes($attributes); + } + + /** + * Use the given callback to resolve attributes for style tags. + * + * @param (callable(string, string, ?array, ?array): array)|array $attributes + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useStyleTagAttributes($attributes) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useStyleTagAttributes($attributes); + } + + /** + * Use the given callback to resolve attributes for preload tags. + * + * @param (callable(string, string, ?array, ?array): (array|false))|array|false $attributes + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function usePreloadTagAttributes($attributes) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->usePreloadTagAttributes($attributes); + } + + /** + * Eagerly prefetch assets. + * + * @param int|null $concurrency + * @param string $event + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function prefetch($concurrency = null, $event = 'load') + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->prefetch($concurrency, $event); + } + + /** + * Use the "waterfall" prefetching strategy. + * + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useWaterfallPrefetching($concurrency = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useWaterfallPrefetching($concurrency); + } + + /** + * Use the "aggressive" prefetching strategy. + * + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function useAggressivePrefetching() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->useAggressivePrefetching(); + } + + /** + * Set the prefetching strategy. + * + * @param 'waterfall'|'aggressive'|null $strategy + * @param array $config + * @return \Illuminate\Foundation\Vite + * @static + */ + public static function usePrefetchStrategy($strategy, $config = []) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->usePrefetchStrategy($strategy, $config); + } + + /** + * Generate React refresh runtime script. + * + * @return \Illuminate\Support\HtmlString|void + * @static + */ + public static function reactRefresh() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->reactRefresh(); + } + + /** + * Get the URL for an asset. + * + * @param string $asset + * @param string|null $buildDirectory + * @return string + * @static + */ + public static function asset($asset, $buildDirectory = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->asset($asset, $buildDirectory); + } + + /** + * Get the content of a given asset. + * + * @param string $asset + * @param string|null $buildDirectory + * @return string + * @throws \Illuminate\Foundation\ViteException + * @static + */ + public static function content($asset, $buildDirectory = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->content($asset, $buildDirectory); + } + + /** + * Get a unique hash representing the current manifest, or null if there is no manifest. + * + * @param string|null $buildDirectory + * @return string|null + * @static + */ + public static function manifestHash($buildDirectory = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->manifestHash($buildDirectory); + } + + /** + * Determine if the HMR server is running. + * + * @return bool + * @static + */ + public static function isRunningHot() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->isRunningHot(); + } + + /** + * Get the Vite tag content as a string of HTML. + * + * @return string + * @static + */ + public static function toHtml() + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->toHtml(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Foundation\Vite::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Foundation\Vite::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Foundation\Vite::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Foundation\Vite::flushMacros(); + } + + } + } + +namespace Laravel\Octane\Facades { + /** + * + * + * @see \Laravel\Octane\Octane + */ + class Octane { + /** + * Get a Swoole table instance. + * + * @static + */ + public static function table($table) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->table($table); + } + + /** + * Format an exception to a string that should be returned to the client. + * + * @static + */ + public static function formatExceptionForClient($e, $debug = false) + { + return \Laravel\Octane\Octane::formatExceptionForClient($e, $debug); + } + + /** + * Write an error message to STDERR or to the SAPI logger if not in CLI mode. + * + * @static + */ + public static function writeError($message) + { + return \Laravel\Octane\Octane::writeError($message); + } + + /** + * Concurrently resolve the given callbacks via background tasks, returning the results. + * + * Results will be keyed by their given keys - if a task did not finish, the tasks value will be "false". + * + * @return array + * @throws \Laravel\Octane\Exceptions\TaskException + * @throws \Laravel\Octane\Exceptions\TaskTimeoutException + * @static + */ + public static function concurrently($tasks, $waitMilliseconds = 3000) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->concurrently($tasks, $waitMilliseconds); + } + + /** + * Get the task dispatcher. + * + * @return \Laravel\Octane\Contracts\DispatchesTasks + * @static + */ + public static function tasks() + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->tasks(); + } + + /** + * Get the listeners that will prepare the Laravel application for a new request. + * + * @static + */ + public static function prepareApplicationForNextRequest() + { + return \Laravel\Octane\Octane::prepareApplicationForNextRequest(); + } + + /** + * Get the listeners that will prepare the Laravel application for a new operation. + * + * @static + */ + public static function prepareApplicationForNextOperation() + { + return \Laravel\Octane\Octane::prepareApplicationForNextOperation(); + } + + /** + * Get the container bindings / services that should be pre-resolved by default. + * + * @static + */ + public static function defaultServicesToWarm() + { + return \Laravel\Octane\Octane::defaultServicesToWarm(); + } + + /** + * Register a Octane route. + * + * @static + */ + public static function route($method, $uri, $callback) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->route($method, $uri, $callback); + } + + /** + * Determine if a route exists for the given method and URI. + * + * @static + */ + public static function hasRouteFor($method, $uri) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->hasRouteFor($method, $uri); + } + + /** + * Invoke the route for the given method and URI. + * + * @static + */ + public static function invokeRoute($request, $method, $uri) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->invokeRoute($request, $method, $uri); + } + + /** + * Get the registered Octane routes. + * + * @static + */ + public static function getRoutes() + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->getRoutes(); + } + + /** + * Register a callback to be called every N seconds. + * + * @return \Laravel\Octane\Swoole\InvokeTickCallable + * @static + */ + public static function tick($key, $callback, $seconds = 1, $immediate = true) + { + /** @var \Laravel\Octane\Octane $instance */ + return $instance->tick($key, $callback, $seconds, $immediate); + } + + } + } + +namespace Spatie\LaravelIgnition\Facades { + /** + * + * + * @see \Spatie\FlareClient\Flare + */ + class Flare { + /** + * + * + * @static + */ + public static function make($apiKey = null, $contextDetector = null) + { + return \Spatie\FlareClient\Flare::make($apiKey, $contextDetector); + } + + /** + * + * + * @static + */ + public static function setApiToken($apiToken) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->setApiToken($apiToken); + } + + /** + * + * + * @static + */ + public static function apiTokenSet() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->apiTokenSet(); + } + + /** + * + * + * @static + */ + public static function setBaseUrl($baseUrl) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->setBaseUrl($baseUrl); + } + + /** + * + * + * @static + */ + public static function setStage($stage) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->setStage($stage); + } + + /** + * + * + * @static + */ + public static function sendReportsImmediately() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->sendReportsImmediately(); + } + + /** + * + * + * @static + */ + public static function determineVersionUsing($determineVersionCallable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->determineVersionUsing($determineVersionCallable); + } + + /** + * + * + * @static + */ + public static function reportErrorLevels($reportErrorLevels) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->reportErrorLevels($reportErrorLevels); + } + + /** + * + * + * @static + */ + public static function filterExceptionsUsing($filterExceptionsCallable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->filterExceptionsUsing($filterExceptionsCallable); + } + + /** + * + * + * @static + */ + public static function filterReportsUsing($filterReportsCallable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->filterReportsUsing($filterReportsCallable); + } + + /** + * + * + * @param array|ArgumentReducer>|\Spatie\Backtrace\Arguments\ArgumentReducers|null $argumentReducers + * @static + */ + public static function argumentReducers($argumentReducers) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->argumentReducers($argumentReducers); + } + + /** + * + * + * @static + */ + public static function withStackFrameArguments($withStackFrameArguments = true, $forcePHPIniSetting = false) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->withStackFrameArguments($withStackFrameArguments, $forcePHPIniSetting); + } + + /** + * + * + * @param class-string $exceptionClass + * @static + */ + public static function overrideGrouping($exceptionClass, $type = 'exception_message_and_class') + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->overrideGrouping($exceptionClass, $type); + } + + /** + * + * + * @static + */ + public static function version() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->version(); + } + + /** + * + * + * @return array> + * @static + */ + public static function getMiddleware() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->getMiddleware(); + } + + /** + * + * + * @static + */ + public static function setContextProviderDetector($contextDetector) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->setContextProviderDetector($contextDetector); + } + + /** + * + * + * @static + */ + public static function setContainer($container) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->setContainer($container); + } + + /** + * + * + * @static + */ + public static function registerFlareHandlers() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->registerFlareHandlers(); + } + + /** + * + * + * @static + */ + public static function registerExceptionHandler() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->registerExceptionHandler(); + } + + /** + * + * + * @static + */ + public static function registerErrorHandler($errorLevels = null) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->registerErrorHandler($errorLevels); + } + + /** + * + * + * @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array|class-string|callable $middleware + * @return \Spatie\FlareClient\Flare + * @static + */ + public static function registerMiddleware($middleware) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->registerMiddleware($middleware); + } + + /** + * + * + * @return array> + * @static + */ + public static function getMiddlewares() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->getMiddlewares(); + } + + /** + * + * + * @param string $name + * @param string $messageLevel + * @param array $metaData + * @return \Spatie\FlareClient\Flare + * @static + */ + public static function glow($name, $messageLevel = 'info', $metaData = []) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->glow($name, $messageLevel, $metaData); + } + + /** + * + * + * @static + */ + public static function handleException($throwable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->handleException($throwable); + } + + /** + * + * + * @return mixed + * @static + */ + public static function handleError($code, $message, $file = '', $line = 0) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->handleError($code, $message, $file, $line); + } + + /** + * + * + * @static + */ + public static function applicationPath($applicationPath) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->applicationPath($applicationPath); + } + + /** + * + * + * @static + */ + public static function report($throwable, $callback = null, $report = null, $handled = null) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->report($throwable, $callback, $report, $handled); + } + + /** + * + * + * @static + */ + public static function reportHandled($throwable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->reportHandled($throwable); + } + + /** + * + * + * @static + */ + public static function reportMessage($message, $logLevel, $callback = null) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->reportMessage($message, $logLevel, $callback); + } + + /** + * + * + * @static + */ + public static function sendTestReport($throwable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->sendTestReport($throwable); + } + + /** + * + * + * @static + */ + public static function reset() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->reset(); + } + + /** + * + * + * @static + */ + public static function anonymizeIp() + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->anonymizeIp(); + } + + /** + * + * + * @param array $fieldNames + * @return \Spatie\FlareClient\Flare + * @static + */ + public static function censorRequestBodyFields($fieldNames) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->censorRequestBodyFields($fieldNames); + } + + /** + * + * + * @static + */ + public static function createReport($throwable) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->createReport($throwable); + } + + /** + * + * + * @static + */ + public static function createReportFromMessage($message, $logLevel) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->createReportFromMessage($message, $logLevel); + } + + /** + * + * + * @static + */ + public static function stage($stage) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->stage($stage); + } + + /** + * + * + * @static + */ + public static function messageLevel($messageLevel) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->messageLevel($messageLevel); + } + + /** + * + * + * @param string $groupName + * @param mixed $default + * @return array + * @static + */ + public static function getGroup($groupName = 'context', $default = []) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->getGroup($groupName, $default); + } + + /** + * + * + * @static + */ + public static function context($key, $value) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->context($key, $value); + } + + /** + * + * + * @param string $groupName + * @param array $properties + * @return \Spatie\FlareClient\Flare + * @static + */ + public static function group($groupName, $properties) + { + /** @var \Spatie\FlareClient\Flare $instance */ + return $instance->group($groupName, $properties); + } + + } + } + +namespace Illuminate\Http { + /** + * + * + */ + class Request { + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() + * @param array $rules + * @param mixed $params + * @static + */ + public static function validate($rules, ...$params) + { + return \Illuminate\Http\Request::validate($rules, ...$params); + } + + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() + * @param string $errorBag + * @param array $rules + * @param mixed $params + * @static + */ + public static function validateWithBag($errorBag, $rules, ...$params) + { + return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params); + } + + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $absolute + * @static + */ + public static function hasValidSignature($absolute = true) + { + return \Illuminate\Http\Request::hasValidSignature($absolute); + } + + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @static + */ + public static function hasValidRelativeSignature() + { + return \Illuminate\Http\Request::hasValidRelativeSignature(); + } + + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @param mixed $absolute + * @static + */ + public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) + { + return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); + } + + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @static + */ + public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) + { + return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery); + } + + } + } + + +namespace { + class App extends \Illuminate\Support\Facades\App {} + class Arr extends \Illuminate\Support\Arr {} + class Artisan extends \Illuminate\Support\Facades\Artisan {} + class Auth extends \Illuminate\Support\Facades\Auth {} + class Blade extends \Illuminate\Support\Facades\Blade {} + class Broadcast extends \Illuminate\Support\Facades\Broadcast {} + class Bus extends \Illuminate\Support\Facades\Bus {} + class Cache extends \Illuminate\Support\Facades\Cache {} + class Concurrency extends \Illuminate\Support\Facades\Concurrency {} + class Config extends \Illuminate\Support\Facades\Config {} + class Context extends \Illuminate\Support\Facades\Context {} + class Cookie extends \Illuminate\Support\Facades\Cookie {} + class Crypt extends \Illuminate\Support\Facades\Crypt {} + class Date extends \Illuminate\Support\Facades\Date {} + class DB extends \Illuminate\Support\Facades\DB {} + + /** + * + * + * @template TCollection of static + * @template TModel of static + * @template TValue of static + * @template TValue of static + */ + class Eloquent extends \Illuminate\Database\Eloquent\Model { /** + * Create and return an un-saved model instance. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function make($attributes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->make($attributes); + } + + /** + * Register a new global scope. + * + * @param string $identifier + * @param \Illuminate\Database\Eloquent\Scope|\Closure $scope + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withGlobalScope($identifier, $scope) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withGlobalScope($identifier, $scope); + } + + /** + * Remove a registered global scope. + * + * @param \Illuminate\Database\Eloquent\Scope|string $scope + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withoutGlobalScope($scope) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withoutGlobalScope($scope); + } + + /** + * Remove all or passed registered global scopes. + * + * @param array|null $scopes + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withoutGlobalScopes($scopes = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withoutGlobalScopes($scopes); + } + + /** + * Get an array of global scopes that were removed from the query. + * + * @return array + * @static + */ + public static function removedScopes() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->removedScopes(); + } + + /** + * Add a where clause on the primary key to the query. + * + * @param mixed $id + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereKey($id) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereKey($id); + } + + /** + * Add a where clause on the primary key to the query. + * + * @param mixed $id + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereKeyNot($id) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereKeyNot($id); + } + + /** + * Add a basic where clause to the query. + * + * @param (\Closure(static): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function where($column, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->where($column, $operator, $value, $boolean); + } + + /** + * Add a basic where clause to the query, and return the first result. + * + * @param (\Closure(static): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return TModel|null + * @static + */ + public static function firstWhere($column, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->firstWhere($column, $operator, $value, $boolean); + } + + /** + * Add an "or where" clause to the query. + * + * @param (\Closure(static): mixed)|array|string|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhere($column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhere($column, $operator, $value); + } + + /** + * Add a basic "where not" clause to the query. + * + * @param (\Closure(static): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNot($column, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereNot($column, $operator, $value, $boolean); + } + + /** + * Add an "or where not" clause to the query. + * + * @param (\Closure(static): mixed)|array|string|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNot($column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereNot($column, $operator, $value); + } + + /** + * Add an "order by" clause for a timestamp to the query. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function latest($column = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->latest($column); + } + + /** + * Add an "order by" clause for a timestamp to the query. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function oldest($column = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->oldest($column); + } + + /** + * Create a collection of models from plain arrays. + * + * @param array $items + * @return \Illuminate\Database\Eloquent\Collection + * @static + */ + public static function hydrate($items) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->hydrate($items); + } + + /** + * Create a collection of models from a raw query. + * + * @param string $query + * @param array $bindings + * @return \Illuminate\Database\Eloquent\Collection + * @static + */ + public static function fromQuery($query, $bindings = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->fromQuery($query, $bindings); + } + + /** + * Find a model by its primary key. + * + * @param mixed $id + * @param array|string $columns + * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel|null) + * @static + */ + public static function find($id, $columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->find($id, $columns); + } + + /** + * Find a sole model by its primary key. + * + * @param mixed $id + * @param array|string $columns + * @return TModel + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @throws \Illuminate\Database\MultipleRecordsFoundException + * @static + */ + public static function findSole($id, $columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->findSole($id, $columns); + } + + /** + * Find multiple models by their primary keys. + * + * @param \Illuminate\Contracts\Support\Arrayable|array $ids + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Collection + * @static + */ + public static function findMany($ids, $columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->findMany($ids, $columns); + } + + /** + * Find a model by its primary key or throw an exception. + * + * @param mixed $id + * @param array|string $columns + * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel) + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @static + */ + public static function findOrFail($id, $columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->findOrFail($id, $columns); + } + + /** + * Find a model by its primary key or return fresh model instance. + * + * @param mixed $id + * @param array|string $columns + * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel) + * @static + */ + public static function findOrNew($id, $columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->findOrNew($id, $columns); + } + + /** + * Find a model by its primary key or call a callback. + * + * @template TValue + * @param mixed $id + * @param (\Closure(): TValue)|list|string $columns + * @param (\Closure(): TValue)|null $callback + * @return ( $id is (\Illuminate\Contracts\Support\Arrayable|array) + * ? \Illuminate\Database\Eloquent\Collection + * : TModel|TValue + * ) + * @static + */ + public static function findOr($id, $columns = [], $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->findOr($id, $columns, $callback); + } + + /** + * Get the first record matching the attributes or instantiate it. + * + * @param array $attributes + * @param array $values + * @return TModel + * @static + */ + public static function firstOrNew($attributes = [], $values = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->firstOrNew($attributes, $values); + } + + /** + * Get the first record matching the attributes. If the record is not found, create it. + * + * @param array $attributes + * @param array $values + * @return TModel + * @static + */ + public static function firstOrCreate($attributes = [], $values = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->firstOrCreate($attributes, $values); + } + + /** + * Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record. + * + * @param array $attributes + * @param array $values + * @return TModel + * @static + */ + public static function createOrFirst($attributes = [], $values = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->createOrFirst($attributes, $values); + } + + /** + * Create or update a record matching the attributes, and fill it with values. + * + * @param array $attributes + * @param array $values + * @return TModel + * @static + */ + public static function updateOrCreate($attributes, $values = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->updateOrCreate($attributes, $values); + } + + /** + * Create a record matching the attributes, or increment the existing record. + * + * @param array $attributes + * @param string $column + * @param int|float $default + * @param int|float $step + * @param array $extra + * @return TModel + * @static + */ + public static function incrementOrCreate($attributes, $column = 'count', $default = 1, $step = 1, $extra = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->incrementOrCreate($attributes, $column, $default, $step, $extra); + } + + /** + * Execute the query and get the first result or throw an exception. + * + * @param array|string $columns + * @return TModel + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @static + */ + public static function firstOrFail($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->firstOrFail($columns); + } + + /** + * Execute the query and get the first result or call a callback. + * + * @template TValue + * @param (\Closure(): TValue)|list $columns + * @param (\Closure(): TValue)|null $callback + * @return TModel|TValue + * @static + */ + public static function firstOr($columns = [], $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->firstOr($columns, $callback); + } + + /** + * Execute the query and get the first result if it's the sole matching record. + * + * @param array|string $columns + * @return TModel + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @throws \Illuminate\Database\MultipleRecordsFoundException + * @static + */ + public static function sole($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->sole($columns); + } + + /** + * Get a single column's value from the first result of a query. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @return mixed + * @static + */ + public static function value($column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->value($column); + } + + /** + * Get a single column's value from the first result of a query if it's the sole matching record. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @return mixed + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @throws \Illuminate\Database\MultipleRecordsFoundException + * @static + */ + public static function soleValue($column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->soleValue($column); + } + + /** + * Get a single column's value from the first result of the query or throw an exception. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @return mixed + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + * @static + */ + public static function valueOrFail($column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->valueOrFail($column); + } + + /** + * Execute the query as a "select" statement. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Collection + * @static + */ + public static function get($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->get($columns); + } + + /** + * Get the hydrated models without eager loading. + * + * @param array|string $columns + * @return array + * @static + */ + public static function getModels($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getModels($columns); + } + + /** + * Eager load the relationships for the models. + * + * @param array $models + * @return array + * @static + */ + public static function eagerLoadRelations($models) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->eagerLoadRelations($models); + } + + /** + * Register a closure to be invoked after the query is executed. + * + * @param \Closure $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function afterQuery($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->afterQuery($callback); + } + + /** + * Invoke the "after query" modification callbacks. + * + * @param mixed $result + * @return mixed + * @static + */ + public static function applyAfterQueryCallbacks($result) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->applyAfterQueryCallbacks($result); + } + + /** + * Get a lazy collection for the given query. + * + * @return \Illuminate\Support\LazyCollection + * @static + */ + public static function cursor() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->cursor(); + } + + /** + * Get a collection with the values of a given column. + * + * @param string|\Illuminate\Contracts\Database\Query\Expression $column + * @param string|null $key + * @return \Illuminate\Support\Collection + * @static + */ + public static function pluck($column, $key = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->pluck($column, $key); + } + + /** + * Paginate the given query. + * + * @param int|null|\Closure $perPage + * @param array|string $columns + * @param string $pageName + * @param int|null $page + * @param \Closure|int|null $total + * @return \Illuminate\Pagination\LengthAwarePaginator + * @throws \InvalidArgumentException + * @static + */ + public static function paginate($perPage = null, $columns = [], $pageName = 'page', $page = null, $total = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->paginate($perPage, $columns, $pageName, $page, $total); + } + + /** + * Paginate the given query into a simple paginator. + * + * @param int|null $perPage + * @param array|string $columns + * @param string $pageName + * @param int|null $page + * @return \Illuminate\Contracts\Pagination\Paginator + * @static + */ + public static function simplePaginate($perPage = null, $columns = [], $pageName = 'page', $page = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->simplePaginate($perPage, $columns, $pageName, $page); + } + + /** + * Paginate the given query into a cursor paginator. + * + * @param int|null $perPage + * @param array|string $columns + * @param string $cursorName + * @param \Illuminate\Pagination\Cursor|string|null $cursor + * @return \Illuminate\Contracts\Pagination\CursorPaginator + * @static + */ + public static function cursorPaginate($perPage = null, $columns = [], $cursorName = 'cursor', $cursor = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->cursorPaginate($perPage, $columns, $cursorName, $cursor); + } + + /** + * Save a new model and return the instance. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function create($attributes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->create($attributes); + } + + /** + * Save a new model and return the instance without raising model events. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function createQuietly($attributes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->createQuietly($attributes); + } + + /** + * Save a new model and return the instance. Allow mass-assignment. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function forceCreate($attributes) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->forceCreate($attributes); + } + + /** + * Save a new model instance with mass assignment without raising model events. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function forceCreateQuietly($attributes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->forceCreateQuietly($attributes); + } + + /** + * Insert new records or update the existing ones. + * + * @param array $values + * @param array|string $uniqueBy + * @param array|null $update + * @return int + * @static + */ + public static function upsert($values, $uniqueBy, $update = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->upsert($values, $uniqueBy, $update); + } + + /** + * Register a replacement for the default delete function. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function onDelete($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + $instance->onDelete($callback); + } + + /** + * Call the given local model scopes. + * + * @param array|string $scopes + * @return static|mixed + * @static + */ + public static function scopes($scopes) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->scopes($scopes); + } + + /** + * Apply the scopes to the Eloquent builder instance and return it. + * + * @return static + * @static + */ + public static function applyScopes() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->applyScopes(); + } + + /** + * Prevent the specified relations from being eager loaded. + * + * @param mixed $relations + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function without($relations) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->without($relations); + } + + /** + * Set the relationships that should be eager loaded while removing any previously added eager loading specifications. + * + * @param array): mixed)|string>|string $relations + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withOnly($relations) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withOnly($relations); + } + + /** + * Create a new instance of the model being queried. + * + * @param array $attributes + * @return TModel + * @static + */ + public static function newModelInstance($attributes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->newModelInstance($attributes); + } + + /** + * Specify attributes that should be added to any new models created by this builder. + * + * The given key / value pairs will also be added as where conditions to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|array|string $attributes + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withAttributes($attributes, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withAttributes($attributes, $value); + } + + /** + * Apply query-time casts to the model instance. + * + * @param array $casts + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withCasts($casts) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withCasts($casts); + } + + /** + * Execute the given Closure within a transaction savepoint if needed. + * + * @template TModelValue + * @param \Closure(): TModelValue $scope + * @return TModelValue + * @static + */ + public static function withSavepointIfNeeded($scope) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withSavepointIfNeeded($scope); + } + + /** + * Get the underlying query builder instance. + * + * @return \Illuminate\Database\Query\Builder + * @static + */ + public static function getQuery() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getQuery(); + } + + /** + * Set the underlying query builder instance. + * + * @param \Illuminate\Database\Query\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function setQuery($query) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->setQuery($query); + } + + /** + * Get a base query builder instance. + * + * @return \Illuminate\Database\Query\Builder + * @static + */ + public static function toBase() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->toBase(); + } + + /** + * Get the relationships being eagerly loaded. + * + * @return array + * @static + */ + public static function getEagerLoads() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getEagerLoads(); + } + + /** + * Set the relationships being eagerly loaded. + * + * @param array $eagerLoad + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function setEagerLoads($eagerLoad) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->setEagerLoads($eagerLoad); + } + + /** + * Indicate that the given relationships should not be eagerly loaded. + * + * @param array $relations + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withoutEagerLoad($relations) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withoutEagerLoad($relations); + } + + /** + * Flush the relationships being eagerly loaded. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withoutEagerLoads() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withoutEagerLoads(); + } + + /** + * Get the model instance being queried. + * + * @return TModel + * @static + */ + public static function getModel() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getModel(); + } + + /** + * Set a model instance for the model being queried. + * + * @template TModelNew of \Illuminate\Database\Eloquent\Model + * @param TModelNew $model + * @return static + * @static + */ + public static function setModel($model) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->setModel($model); + } + + /** + * Get the given macro by name. + * + * @param string $name + * @return \Closure + * @static + */ + public static function getMacro($name) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getMacro($name); + } + + /** + * Checks if a macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->hasMacro($name); + } + + /** + * Get the given global macro by name. + * + * @param string $name + * @return \Closure + * @static + */ + public static function getGlobalMacro($name) + { + return \Illuminate\Database\Eloquent\Builder::getGlobalMacro($name); + } + + /** + * Checks if a global macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasGlobalMacro($name) + { + return \Illuminate\Database\Eloquent\Builder::hasGlobalMacro($name); + } + + /** + * Clone the Eloquent query builder. + * + * @return static + * @static + */ + public static function clone() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->clone(); + } + + /** + * Register a closure to be invoked on a clone. + * + * @param \Closure $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function onClone($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->onClone($callback); + } + + /** + * Chunk the results of the query. + * + * @param int $count + * @param callable(\Illuminate\Support\Collection, int): mixed $callback + * @return bool + * @static + */ + public static function chunk($count, $callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->chunk($count, $callback); + } + + /** + * Run a map over each item while chunking. + * + * @template TReturn + * @param callable(TValue): TReturn $callback + * @param int $count + * @return \Illuminate\Support\Collection + * @static + */ + public static function chunkMap($callback, $count = 1000) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->chunkMap($callback, $count); + } + + /** + * Execute a callback over each item while chunking. + * + * @param callable(TValue, int): mixed $callback + * @param int $count + * @return bool + * @throws \RuntimeException + * @static + */ + public static function each($callback, $count = 1000) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->each($callback, $count); + } + + /** + * Chunk the results of a query by comparing IDs. + * + * @param int $count + * @param callable(\Illuminate\Support\Collection, int): mixed $callback + * @param string|null $column + * @param string|null $alias + * @return bool + * @static + */ + public static function chunkById($count, $callback, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->chunkById($count, $callback, $column, $alias); + } + + /** + * Chunk the results of a query by comparing IDs in descending order. + * + * @param int $count + * @param callable(\Illuminate\Support\Collection, int): mixed $callback + * @param string|null $column + * @param string|null $alias + * @return bool + * @static + */ + public static function chunkByIdDesc($count, $callback, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->chunkByIdDesc($count, $callback, $column, $alias); + } + + /** + * Chunk the results of a query by comparing IDs in a given order. + * + * @param int $count + * @param callable(\Illuminate\Support\Collection, int): mixed $callback + * @param string|null $column + * @param string|null $alias + * @param bool $descending + * @return bool + * @throws \RuntimeException + * @static + */ + public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orderedChunkById($count, $callback, $column, $alias, $descending); + } + + /** + * Execute a callback over each item while chunking by ID. + * + * @param callable(TValue, int): mixed $callback + * @param int $count + * @param string|null $column + * @param string|null $alias + * @return bool + * @static + */ + public static function eachById($callback, $count = 1000, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->eachById($callback, $count, $column, $alias); + } + + /** + * Query lazily, by chunks of the given size. + * + * @param int $chunkSize + * @return \Illuminate\Support\LazyCollection + * @throws \InvalidArgumentException + * @static + */ + public static function lazy($chunkSize = 1000) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->lazy($chunkSize); + } + + /** + * Query lazily, by chunking the results of a query by comparing IDs. + * + * @param int $chunkSize + * @param string|null $column + * @param string|null $alias + * @return \Illuminate\Support\LazyCollection + * @throws \InvalidArgumentException + * @static + */ + public static function lazyById($chunkSize = 1000, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->lazyById($chunkSize, $column, $alias); + } + + /** + * Query lazily, by chunking the results of a query by comparing IDs in descending order. + * + * @param int $chunkSize + * @param string|null $column + * @param string|null $alias + * @return \Illuminate\Support\LazyCollection + * @throws \InvalidArgumentException + * @static + */ + public static function lazyByIdDesc($chunkSize = 1000, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->lazyByIdDesc($chunkSize, $column, $alias); + } + + /** + * Execute the query and get the first result. + * + * @param array|string $columns + * @return TValue|null + * @static + */ + public static function first($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->first($columns); + } + + /** + * Execute the query and get the first result if it's the sole matching record. + * + * @param array|string $columns + * @return TValue + * @throws \Illuminate\Database\RecordsNotFoundException + * @throws \Illuminate\Database\MultipleRecordsFoundException + * @static + */ + public static function baseSole($columns = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->baseSole($columns); + } + + /** + * Pass the query to a given callback. + * + * @param callable($this): mixed $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function tap($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->tap($callback); + } + + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|TWhenReturnType + * @static + */ + public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->when($value, $callback, $default); + } + + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|TUnlessReturnType + * @static + */ + public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->unless($value, $callback, $default); + } + + /** + * Add a relationship count / exists condition to the query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param string $operator + * @param int $count + * @param string $boolean + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @throws \RuntimeException + * @static + */ + public static function has($relation, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->has($relation, $operator, $count, $boolean, $callback); + } + + /** + * Add a relationship count / exists condition to the query with an "or". + * + * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHas($relation, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orHas($relation, $operator, $count); + } + + /** + * Add a relationship count / exists condition to the query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param string $boolean + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function doesntHave($relation, $boolean = 'and', $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->doesntHave($relation, $boolean, $callback); + } + + /** + * Add a relationship count / exists condition to the query with an "or". + * + * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orDoesntHave($relation) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orDoesntHave($relation); + } + + /** + * Add a relationship count / exists condition to the query with where clauses. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereHas($relation, $callback = null, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereHas($relation, $callback, $operator, $count); + } + + /** + * Add a relationship count / exists condition to the query with where clauses. + * + * Also load the relationship with the same condition. + * + * @param string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withWhereHas($relation, $callback = null, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withWhereHas($relation, $callback, $operator, $count); + } + + /** + * Add a relationship count / exists condition to the query with where clauses and an "or". + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereHas($relation, $callback = null, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereHas($relation, $callback, $operator, $count); + } + + /** + * Add a relationship count / exists condition to the query with where clauses. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereDoesntHave($relation, $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereDoesntHave($relation, $callback); + } + + /** + * Add a relationship count / exists condition to the query with where clauses and an "or". + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereDoesntHave($relation, $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereDoesntHave($relation, $callback); + } + + /** + * Add a polymorphic relationship count / exists condition to the query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param string $operator + * @param int $count + * @param string $boolean + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->hasMorph($relation, $types, $operator, $count, $boolean, $callback); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with an "or". + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param string|array $types + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHasMorph($relation, $types, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orHasMorph($relation, $types, $operator, $count); + } + + /** + * Add a polymorphic relationship count / exists condition to the query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param string $boolean + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function doesntHaveMorph($relation, $types, $boolean = 'and', $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->doesntHaveMorph($relation, $types, $boolean, $callback); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with an "or". + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param string|array $types + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orDoesntHaveMorph($relation, $types) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orDoesntHaveMorph($relation, $types); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with where clauses. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereHasMorph($relation, $types, $callback, $operator, $count); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with where clauses and an "or". + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @param string $operator + * @param int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereHasMorph($relation, $types, $callback, $operator, $count); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with where clauses. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereDoesntHaveMorph($relation, $types, $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereDoesntHaveMorph($relation, $types, $callback); + } + + /** + * Add a polymorphic relationship count / exists condition to the query with where clauses and an "or". + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereDoesntHaveMorph($relation, $types, $callback = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereDoesntHaveMorph($relation, $types, $callback); + } + + /** + * Add a basic where clause to a relationship query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereRelation($relation, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereRelation($relation, $column, $operator, $value); + } + + /** + * Add a basic where clause to a relationship query and eager-load the relationship with the same conditions. + * + * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation + * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withWhereRelation($relation, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withWhereRelation($relation, $column, $operator, $value); + } + + /** + * Add an "or where" clause to a relationship query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereRelation($relation, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereRelation($relation, $column, $operator, $value); + } + + /** + * Add a basic count / exists condition to a relationship query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereDoesntHaveRelation($relation, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereDoesntHaveRelation($relation, $column, $operator, $value); + } + + /** + * Add an "or where" clause to a relationship query. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereDoesntHaveRelation($relation, $column, $operator, $value); + } + + /** + * Add a polymorphic relationship condition to the query with a where clause. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereMorphRelation($relation, $types, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereMorphRelation($relation, $types, $column, $operator, $value); + } + + /** + * Add a polymorphic relationship condition to the query with an "or where" clause. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereMorphRelation($relation, $types, $column, $operator, $value); + } + + /** + * Add a polymorphic relationship condition to the query with a doesn't have clause. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereMorphDoesntHaveRelation($relation, $types, $column, $operator, $value); + } + + /** + * Add a polymorphic relationship condition to the query with an "or doesn't have" clause. + * + * @template TRelatedModel of \Illuminate\Database\Eloquent\Model + * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation + * @param string|array $types + * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator, $value); + } + + /** + * Add a morph-to relationship condition to the query. + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param \Illuminate\Database\Eloquent\Model|iterable|string|null $model + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereMorphedTo($relation, $model, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereMorphedTo($relation, $model, $boolean); + } + + /** + * Add a not morph-to relationship condition to the query. + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param \Illuminate\Database\Eloquent\Model|iterable|string $model + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotMorphedTo($relation, $model, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereNotMorphedTo($relation, $model, $boolean); + } + + /** + * Add a morph-to relationship condition to the query with an "or where" clause. + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param \Illuminate\Database\Eloquent\Model|iterable|string|null $model + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereMorphedTo($relation, $model) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereMorphedTo($relation, $model); + } + + /** + * Add a not morph-to relationship condition to the query with an "or where" clause. + * + * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation + * @param \Illuminate\Database\Eloquent\Model|iterable|string $model + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotMorphedTo($relation, $model) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereNotMorphedTo($relation, $model); + } + + /** + * Add a "belongs to" relationship where clause to the query. + * + * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection $related + * @param string|null $relationshipName + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @throws \Illuminate\Database\Eloquent\RelationNotFoundException + * @static + */ + public static function whereBelongsTo($related, $relationshipName = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereBelongsTo($related, $relationshipName, $boolean); + } + + /** + * Add a "BelongsTo" relationship with an "or where" clause to the query. + * + * @param \Illuminate\Database\Eloquent\Model $related + * @param string|null $relationshipName + * @return \Illuminate\Database\Eloquent\Builder + * @throws \RuntimeException + * @static + */ + public static function orWhereBelongsTo($related, $relationshipName = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereBelongsTo($related, $relationshipName); + } + + /** + * Add subselect queries to include an aggregate value for a relationship. + * + * @param mixed $relations + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $function + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withAggregate($relations, $column, $function = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withAggregate($relations, $column, $function); + } + + /** + * Add subselect queries to count the relations. + * + * @param mixed $relations + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withCount($relations) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withCount($relations); + } + + /** + * Add subselect queries to include the max of the relation's column. + * + * @param string|array $relation + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withMax($relation, $column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withMax($relation, $column); + } + + /** + * Add subselect queries to include the min of the relation's column. + * + * @param string|array $relation + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withMin($relation, $column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withMin($relation, $column); + } + + /** + * Add subselect queries to include the sum of the relation's column. + * + * @param string|array $relation + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withSum($relation, $column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withSum($relation, $column); + } + + /** + * Add subselect queries to include the average of the relation's column. + * + * @param string|array $relation + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withAvg($relation, $column) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withAvg($relation, $column); + } + + /** + * Add subselect queries to include the existence of related models. + * + * @param string|array $relation + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withExists($relation) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withExists($relation); + } + + /** + * Merge the where constraints from another query to the current query. + * + * @param \Illuminate\Database\Eloquent\Builder<*> $from + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function mergeConstraintsFrom($from) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->mergeConstraintsFrom($from); + } + + /** + * Set the columns to be selected. + * + * @param array|mixed $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function select($columns = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->select($columns); + } + + /** + * Add a subselect expression to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function selectSub($query, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->selectSub($query, $as); + } + + /** + * Add a new "raw" select expression to the query. + * + * @param string $expression + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function selectRaw($expression, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->selectRaw($expression, $bindings); + } + + /** + * Makes "from" fetch from a subquery. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function fromSub($query, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->fromSub($query, $as); + } + + /** + * Add a raw from clause to the query. + * + * @param string $expression + * @param mixed $bindings + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function fromRaw($expression, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->fromRaw($expression, $bindings); + } + + /** + * Add a new select column to the query. + * + * @param array|mixed $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function addSelect($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->addSelect($column); + } + + /** + * Force the query to only return distinct results. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function distinct() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->distinct(); + } + + /** + * Set the table which the query is targeting. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $table + * @param string|null $as + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function from($table, $as = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->from($table, $as); + } + + /** + * Add an index hint to suggest a query index. + * + * @param string $index + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function useIndex($index) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->useIndex($index); + } + + /** + * Add an index hint to force a query index. + * + * @param string $index + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function forceIndex($index) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->forceIndex($index); + } + + /** + * Add an index hint to ignore a query index. + * + * @param string $index + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function ignoreIndex($index) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->ignoreIndex($index); + } + + /** + * Add a join clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @param string $type + * @param bool $where + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function join($table, $first, $operator = null, $second = null, $type = 'inner', $where = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->join($table, $first, $operator, $second, $type, $where); + } + + /** + * Add a "join where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string $second + * @param string $type + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function joinWhere($table, $first, $operator, $second, $type = 'inner') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->joinWhere($table, $first, $operator, $second, $type); + } + + /** + * Add a subquery join clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @param string $type + * @param bool $where + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function joinSub($query, $as, $first, $operator = null, $second = null, $type = 'inner', $where = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->joinSub($query, $as, $first, $operator, $second, $type, $where); + } + + /** + * Add a lateral join clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function joinLateral($query, $as, $type = 'inner') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->joinLateral($query, $as, $type); + } + + /** + * Add a lateral left join to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function leftJoinLateral($query, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->leftJoinLateral($query, $as); + } + + /** + * Add a left join to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function leftJoin($table, $first, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->leftJoin($table, $first, $operator, $second); + } + + /** + * Add a "join where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function leftJoinWhere($table, $first, $operator, $second) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->leftJoinWhere($table, $first, $operator, $second); + } + + /** + * Add a subquery left join to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function leftJoinSub($query, $as, $first, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->leftJoinSub($query, $as, $first, $operator, $second); + } + + /** + * Add a right join to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function rightJoin($table, $first, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->rightJoin($table, $first, $operator, $second); + } + + /** + * Add a "right join where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function rightJoinWhere($table, $first, $operator, $second) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->rightJoinWhere($table, $first, $operator, $second); + } + + /** + * Add a subquery right join to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function rightJoinSub($query, $as, $first, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->rightJoinSub($query, $as, $first, $operator, $second); + } + + /** + * Add a "cross join" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string|null $first + * @param string|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function crossJoin($table, $first = null, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->crossJoin($table, $first, $operator, $second); + } + + /** + * Add a subquery cross join to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @param string $as + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function crossJoinSub($query, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->crossJoinSub($query, $as); + } + + /** + * Merge an array of where clauses and bindings. + * + * @param array $wheres + * @param array $bindings + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function mergeWheres($wheres, $bindings) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->mergeWheres($wheres, $bindings); + } + + /** + * Prepare the value and operator for a where clause. + * + * @param string $value + * @param string $operator + * @param bool $useDefault + * @return array + * @throws \InvalidArgumentException + * @static + */ + public static function prepareValueAndOperator($value, $operator, $useDefault = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->prepareValueAndOperator($value, $operator, $useDefault); + } + + /** + * Add a "where" clause comparing two columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string|array $first + * @param string|null $operator + * @param string|null $second + * @param string|null $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereColumn($first, $operator = null, $second = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereColumn($first, $operator, $second, $boolean); + } + + /** + * Add an "or where" clause comparing two columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string|array $first + * @param string|null $operator + * @param string|null $second + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereColumn($first, $operator = null, $second = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereColumn($first, $operator, $second); + } + + /** + * Add a raw where clause to the query. + * + * @param string $sql + * @param mixed $bindings + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereRaw($sql, $bindings = [], $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereRaw($sql, $bindings, $boolean); + } + + /** + * Add a raw or where clause to the query. + * + * @param string $sql + * @param mixed $bindings + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereRaw($sql, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereRaw($sql, $bindings); + } + + /** + * Add a "where like" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $value + * @param bool $caseSensitive + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereLike($column, $value, $caseSensitive = false, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereLike($column, $value, $caseSensitive, $boolean, $not); + } + + /** + * Add an "or where like" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $value + * @param bool $caseSensitive + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereLike($column, $value, $caseSensitive = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereLike($column, $value, $caseSensitive); + } + + /** + * Add a "where not like" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $value + * @param bool $caseSensitive + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotLike($column, $value, $caseSensitive = false, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotLike($column, $value, $caseSensitive, $boolean); + } + + /** + * Add an "or where not like" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $value + * @param bool $caseSensitive + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotLike($column, $value, $caseSensitive = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotLike($column, $value, $caseSensitive); + } + + /** + * Add a "where in" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $values + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereIn($column, $values, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereIn($column, $values, $boolean, $not); + } + + /** + * Add an "or where in" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereIn($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereIn($column, $values); + } + + /** + * Add a "where not in" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $values + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotIn($column, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotIn($column, $values, $boolean); + } + + /** + * Add an "or where not in" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotIn($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotIn($column, $values); + } + + /** + * Add a "where in raw" clause for integer values to the query. + * + * @param string $column + * @param \Illuminate\Contracts\Support\Arrayable|array $values + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereIntegerInRaw($column, $values, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereIntegerInRaw($column, $values, $boolean, $not); + } + + /** + * Add an "or where in raw" clause for integer values to the query. + * + * @param string $column + * @param \Illuminate\Contracts\Support\Arrayable|array $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereIntegerInRaw($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereIntegerInRaw($column, $values); + } + + /** + * Add a "where not in raw" clause for integer values to the query. + * + * @param string $column + * @param \Illuminate\Contracts\Support\Arrayable|array $values + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereIntegerNotInRaw($column, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereIntegerNotInRaw($column, $values, $boolean); + } + + /** + * Add an "or where not in raw" clause for integer values to the query. + * + * @param string $column + * @param \Illuminate\Contracts\Support\Arrayable|array $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereIntegerNotInRaw($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereIntegerNotInRaw($column, $values); + } + + /** + * Add a "where null" clause to the query. + * + * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNull($columns, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNull($columns, $boolean, $not); + } + + /** + * Add an "or where null" clause to the query. + * + * @param string|array|\Illuminate\Contracts\Database\Query\Expression $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNull($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNull($column); + } + + /** + * Add a "where not null" clause to the query. + * + * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotNull($columns, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotNull($columns, $boolean); + } + + /** + * Add a where between statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereBetween($column, $values, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereBetween($column, $values, $boolean, $not); + } + + /** + * Add a where between statement using columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereBetweenColumns($column, $values, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereBetweenColumns($column, $values, $boolean, $not); + } + + /** + * Add an or where between statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereBetween($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereBetween($column, $values); + } + + /** + * Add an or where between statement using columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereBetweenColumns($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereBetweenColumns($column, $values); + } + + /** + * Add a where not between statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotBetween($column, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotBetween($column, $values, $boolean); + } + + /** + * Add a where not between statement using columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotBetweenColumns($column, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotBetweenColumns($column, $values, $boolean); + } + + /** + * Add an or where not between statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotBetween($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotBetween($column, $values); + } + + /** + * Add an or where not between statement using columns to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotBetweenColumns($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotBetweenColumns($column, $values); + } + + /** + * Add an "or where not null" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotNull($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotNull($column); + } + + /** + * Add a "where date" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|null $operator + * @param \DateTimeInterface|string|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereDate($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereDate($column, $operator, $value, $boolean); + } + + /** + * Add an "or where date" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|null $operator + * @param \DateTimeInterface|string|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereDate($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereDate($column, $operator, $value); + } + + /** + * Add a "where time" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|null $operator + * @param \DateTimeInterface|string|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereTime($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereTime($column, $operator, $value, $boolean); + } + + /** + * Add an "or where time" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|null $operator + * @param \DateTimeInterface|string|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereTime($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereTime($column, $operator, $value); + } + + /** + * Add a "where day" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereDay($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereDay($column, $operator, $value, $boolean); + } + + /** + * Add an "or where day" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereDay($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereDay($column, $operator, $value); + } + + /** + * Add a "where month" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereMonth($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereMonth($column, $operator, $value, $boolean); + } + + /** + * Add an "or where month" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereMonth($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereMonth($column, $operator, $value); + } + + /** + * Add a "where year" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereYear($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereYear($column, $operator, $value, $boolean); + } + + /** + * Add an "or where year" statement to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \DateTimeInterface|string|int|null $operator + * @param \DateTimeInterface|string|int|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereYear($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereYear($column, $operator, $value); + } + + /** + * Add a nested where statement to the query. + * + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNested($callback, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNested($callback, $boolean); + } + + /** + * Create a new query instance for nested where condition. + * + * @return \Illuminate\Database\Query\Builder + * @static + */ + public static function forNestedWhere() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->forNestedWhere(); + } + + /** + * Add another query builder as a nested where to the query builder. + * + * @param \Illuminate\Database\Query\Builder $query + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function addNestedWhereQuery($query, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->addNestedWhereQuery($query, $boolean); + } + + /** + * Add an exists clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereExists($callback, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereExists($callback, $boolean, $not); + } + + /** + * Add an or exists clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereExists($callback, $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereExists($callback, $not); + } + + /** + * Add a where not exists clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNotExists($callback, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNotExists($callback, $boolean); + } + + /** + * Add a where not exists clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNotExists($callback) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNotExists($callback); + } + + /** + * Add an exists clause to the query. + * + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function addWhereExistsQuery($query, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->addWhereExistsQuery($query, $boolean, $not); + } + + /** + * Adds a where condition using row values. + * + * @param array $columns + * @param string $operator + * @param array $values + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function whereRowValues($columns, $operator, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereRowValues($columns, $operator, $values, $boolean); + } + + /** + * Adds an or where condition using row values. + * + * @param array $columns + * @param string $operator + * @param array $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereRowValues($columns, $operator, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereRowValues($columns, $operator, $values); + } + + /** + * Add a "where JSON contains" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonContains($column, $value, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonContains($column, $value, $boolean, $not); + } + + /** + * Add an "or where JSON contains" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonContains($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonContains($column, $value); + } + + /** + * Add a "where JSON not contains" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonDoesntContain($column, $value, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonDoesntContain($column, $value, $boolean); + } + + /** + * Add an "or where JSON not contains" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonDoesntContain($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonDoesntContain($column, $value); + } + + /** + * Add a "where JSON overlaps" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonOverlaps($column, $value, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonOverlaps($column, $value, $boolean, $not); + } + + /** + * Add an "or where JSON overlaps" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonOverlaps($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonOverlaps($column, $value); + } + + /** + * Add a "where JSON not overlap" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonDoesntOverlap($column, $value, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonDoesntOverlap($column, $value, $boolean); + } + + /** + * Add an "or where JSON not overlap" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonDoesntOverlap($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonDoesntOverlap($column, $value); + } + + /** + * Add a clause that determines if a JSON path exists to the query. + * + * @param string $column + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonContainsKey($column, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonContainsKey($column, $boolean, $not); + } + + /** + * Add an "or" clause that determines if a JSON path exists to the query. + * + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonContainsKey($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonContainsKey($column); + } + + /** + * Add a clause that determines if a JSON path does not exist to the query. + * + * @param string $column + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonDoesntContainKey($column, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonDoesntContainKey($column, $boolean); + } + + /** + * Add an "or" clause that determines if a JSON path does not exist to the query. + * + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonDoesntContainKey($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonDoesntContainKey($column); + } + + /** + * Add a "where JSON length" clause to the query. + * + * @param string $column + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereJsonLength($column, $operator, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonLength($column, $operator, $value, $boolean); + } + + /** + * Add an "or where JSON length" clause to the query. + * + * @param string $column + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereJsonLength($column, $operator, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonLength($column, $operator, $value); + } + + /** + * Handles dynamic "where" clauses to the query. + * + * @param string $method + * @param array $parameters + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function dynamicWhere($method, $parameters) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->dynamicWhere($method, $parameters); + } + + /** + * Add a "where fulltext" clause to the query. + * + * @param string|string[] $columns + * @param string $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereFullText($columns, $value, $options = [], $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereFullText($columns, $value, $options, $boolean); + } + + /** + * Add a "or where fulltext" clause to the query. + * + * @param string|string[] $columns + * @param string $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereFullText($columns, $value, $options = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereFullText($columns, $value, $options); + } + + /** + * Add a "where" clause to the query for multiple columns with "and" conditions between them. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereAll($columns, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereAll($columns, $operator, $value, $boolean); + } + + /** + * Add an "or where" clause to the query for multiple columns with "and" conditions between them. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereAll($columns, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereAll($columns, $operator, $value); + } + + /** + * Add a "where" clause to the query for multiple columns with "or" conditions between them. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereAny($columns, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereAny($columns, $operator, $value, $boolean); + } + + /** + * Add an "or where" clause to the query for multiple columns with "or" conditions between them. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereAny($columns, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereAny($columns, $operator, $value); + } + + /** + * Add a "where not" clause to the query for multiple columns where none of the conditions should be true. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNone($columns, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNone($columns, $operator, $value, $boolean); + } + + /** + * Add an "or where not" clause to the query for multiple columns where none of the conditions should be true. + * + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns + * @param mixed $operator + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNone($columns, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNone($columns, $operator, $value); + } + + /** + * Add a "group by" clause to the query. + * + * @param array|\Illuminate\Contracts\Database\Query\Expression|string $groups + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function groupBy(...$groups) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->groupBy(...$groups); + } + + /** + * Add a raw groupBy clause to the query. + * + * @param string $sql + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function groupByRaw($sql, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->groupByRaw($sql, $bindings); + } + + /** + * Add a "having" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column + * @param string|int|float|null $operator + * @param string|int|float|null $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function having($column, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->having($column, $operator, $value, $boolean); + } + + /** + * Add an "or having" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column + * @param string|int|float|null $operator + * @param string|int|float|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHaving($column, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHaving($column, $operator, $value); + } + + /** + * Add a nested having statement to the query. + * + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingNested($callback, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingNested($callback, $boolean); + } + + /** + * Add another query builder as a nested having to the query builder. + * + * @param \Illuminate\Database\Query\Builder $query + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function addNestedHavingQuery($query, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->addNestedHavingQuery($query, $boolean); + } + + /** + * Add a "having null" clause to the query. + * + * @param array|string $columns + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingNull($columns, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingNull($columns, $boolean, $not); + } + + /** + * Add an "or having null" clause to the query. + * + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHavingNull($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHavingNull($column); + } + + /** + * Add a "having not null" clause to the query. + * + * @param array|string $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingNotNull($columns, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingNotNull($columns, $boolean); + } + + /** + * Add an "or having not null" clause to the query. + * + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHavingNotNull($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHavingNotNull($column); + } + + /** + * Add a "having between " clause to the query. + * + * @param string $column + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingBetween($column, $values, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingBetween($column, $values, $boolean, $not); + } + + /** + * Add a raw having clause to the query. + * + * @param string $sql + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingRaw($sql, $bindings = [], $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingRaw($sql, $bindings, $boolean); + } + + /** + * Add a raw or having clause to the query. + * + * @param string $sql + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHavingRaw($sql, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHavingRaw($sql, $bindings); + } + + /** + * Add an "order by" clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column + * @param string $direction + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function orderBy($column, $direction = 'asc') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orderBy($column, $direction); + } + + /** + * Add a descending "order by" clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orderByDesc($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orderByDesc($column); + } + + /** + * Put the query's results in random order. + * + * @param string|int $seed + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function inRandomOrder($seed = '') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->inRandomOrder($seed); + } + + /** + * Add a raw "order by" clause to the query. + * + * @param string $sql + * @param array $bindings + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orderByRaw($sql, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orderByRaw($sql, $bindings); + } + + /** + * Alias to set the "offset" value of the query. + * + * @param int $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function skip($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->skip($value); + } + + /** + * Set the "offset" value of the query. + * + * @param int $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function offset($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->offset($value); + } + + /** + * Alias to set the "limit" value of the query. + * + * @param int $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function take($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->take($value); + } + + /** + * Set the "limit" value of the query. + * + * @param int $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function limit($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->limit($value); + } + + /** + * Add a "group limit" clause to the query. + * + * @param int $value + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function groupLimit($value, $column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->groupLimit($value, $column); + } + + /** + * Set the limit and offset for a given page. + * + * @param int $page + * @param int $perPage + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function forPage($page, $perPage = 15) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->forPage($page, $perPage); + } + + /** + * Constrain the query to the previous "page" of results before a given ID. + * + * @param int $perPage + * @param int|null $lastId + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->forPageBeforeId($perPage, $lastId, $column); + } + + /** + * Constrain the query to the next "page" of results after a given ID. + * + * @param int $perPage + * @param int|null $lastId + * @param string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->forPageAfterId($perPage, $lastId, $column); + } + + /** + * Remove all existing orders and optionally add a new order. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string|null $column + * @param string $direction + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function reorder($column = null, $direction = 'asc') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->reorder($column, $direction); + } + + /** + * Add a union statement to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $query + * @param bool $all + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function union($query, $all = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->union($query, $all); + } + + /** + * Add a union all statement to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $query + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function unionAll($query) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->unionAll($query); + } + + /** + * Lock the selected rows in the table. + * + * @param string|bool $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function lock($value = true) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->lock($value); + } + + /** + * Lock the selected rows in the table for updating. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function lockForUpdate() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->lockForUpdate(); + } + + /** + * Share lock the selected rows in the table. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function sharedLock() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->sharedLock(); + } + + /** + * Register a closure to be invoked before the query is executed. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function beforeQuery($callback) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->beforeQuery($callback); + } + + /** + * Invoke the "before query" modification callbacks. + * + * @return void + * @static + */ + public static function applyBeforeQueryCallbacks() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + $instance->applyBeforeQueryCallbacks(); + } + + /** + * Get the SQL representation of the query. + * + * @return string + * @static + */ + public static function toSql() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->toSql(); + } + + /** + * Get the raw SQL representation of the query with embedded bindings. + * + * @return string + * @static + */ + public static function toRawSql() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->toRawSql(); + } + + /** + * Get a single expression value from the first result of a query. + * + * @return mixed + * @static + */ + public static function rawValue($expression, $bindings = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->rawValue($expression, $bindings); + } + + /** + * Get the count of the total records for the paginator. + * + * @param array $columns + * @return int + * @static + */ + public static function getCountForPagination($columns = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getCountForPagination($columns); + } + + /** + * Concatenate values of a given column as a string. + * + * @param string $column + * @param string $glue + * @return string + * @static + */ + public static function implode($column, $glue = '') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->implode($column, $glue); + } + + /** + * Determine if any rows exist for the current query. + * + * @return bool + * @static + */ + public static function exists() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->exists(); + } + + /** + * Determine if no rows exist for the current query. + * + * @return bool + * @static + */ + public static function doesntExist() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->doesntExist(); + } + + /** + * Execute the given callback if no rows exist for the current query. + * + * @return mixed + * @static + */ + public static function existsOr($callback) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->existsOr($callback); + } + + /** + * Execute the given callback if rows exist for the current query. + * + * @return mixed + * @static + */ + public static function doesntExistOr($callback) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->doesntExistOr($callback); + } + + /** + * Retrieve the "count" result of the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $columns + * @return int + * @static + */ + public static function count($columns = '*') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->count($columns); + } + + /** + * Retrieve the minimum value of a given column. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return mixed + * @static + */ + public static function min($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->min($column); + } + + /** + * Retrieve the maximum value of a given column. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return mixed + * @static + */ + public static function max($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->max($column); + } + + /** + * Retrieve the sum of the values of a given column. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return mixed + * @static + */ + public static function sum($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->sum($column); + } + + /** + * Retrieve the average of the values of a given column. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return mixed + * @static + */ + public static function avg($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->avg($column); + } + + /** + * Alias for the "avg" method. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @return mixed + * @static + */ + public static function average($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->average($column); + } + + /** + * Execute an aggregate function on the database. + * + * @param string $function + * @param array $columns + * @return mixed + * @static + */ + public static function aggregate($function, $columns = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->aggregate($function, $columns); + } + + /** + * Execute a numeric aggregate function on the database. + * + * @param string $function + * @param array $columns + * @return float|int + * @static + */ + public static function numericAggregate($function, $columns = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->numericAggregate($function, $columns); + } + + /** + * Insert new records into the database. + * + * @return bool + * @static + */ + public static function insert($values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insert($values); + } + + /** + * Insert new records into the database while ignoring errors. + * + * @return int + * @static + */ + public static function insertOrIgnore($values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insertOrIgnore($values); + } + + /** + * Insert a new record and get the value of the primary key. + * + * @param string|null $sequence + * @return int + * @static + */ + public static function insertGetId($values, $sequence = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insertGetId($values, $sequence); + } + + /** + * Insert new records into the table using a subquery. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @return int + * @static + */ + public static function insertUsing($columns, $query) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insertUsing($columns, $query); + } + + /** + * Insert new records into the table using a subquery while ignoring errors. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query + * @return int + * @static + */ + public static function insertOrIgnoreUsing($columns, $query) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insertOrIgnoreUsing($columns, $query); + } + + /** + * Update records in a PostgreSQL database using the update from syntax. + * + * @return int + * @static + */ + public static function updateFrom($values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->updateFrom($values); + } + + /** + * Insert or update a record matching the attributes, and fill it with values. + * + * @return bool + * @static + */ + public static function updateOrInsert($attributes, $values = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->updateOrInsert($attributes, $values); + } + + /** + * Increment the given column's values by the given amounts. + * + * @param array $columns + * @param array $extra + * @return int + * @throws \InvalidArgumentException + * @static + */ + public static function incrementEach($columns, $extra = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->incrementEach($columns, $extra); + } + + /** + * Decrement the given column's values by the given amounts. + * + * @param array $columns + * @param array $extra + * @return int + * @throws \InvalidArgumentException + * @static + */ + public static function decrementEach($columns, $extra = []) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->decrementEach($columns, $extra); + } + + /** + * Run a truncate statement on the table. + * + * @return void + * @static + */ + public static function truncate() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + $instance->truncate(); + } + + /** + * Get all of the query builder's columns in a text-only array with all expressions evaluated. + * + * @return array + * @static + */ + public static function getColumns() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getColumns(); + } + + /** + * Create a raw database expression. + * + * @param mixed $value + * @return \Illuminate\Contracts\Database\Query\Expression + * @static + */ + public static function raw($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->raw($value); + } + + /** + * Get the current query value bindings in a flattened array. + * + * @return array + * @static + */ + public static function getBindings() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getBindings(); + } + + /** + * Get the raw array of bindings. + * + * @return array + * @static + */ + public static function getRawBindings() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getRawBindings(); + } + + /** + * Set the bindings on the query builder. + * + * @param string $type + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function setBindings($bindings, $type = 'where') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->setBindings($bindings, $type); + } + + /** + * Add a binding to the query. + * + * @param mixed $value + * @param string $type + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static + */ + public static function addBinding($value, $type = 'where') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->addBinding($value, $type); + } + + /** + * Cast the given binding value. + * + * @param mixed $value + * @return mixed + * @static + */ + public static function castBinding($value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->castBinding($value); + } + + /** + * Merge an array of bindings into our bindings. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function mergeBindings($query) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->mergeBindings($query); + } + + /** + * Remove all of the expressions from a list of bindings. + * + * @return array + * @static + */ + public static function cleanBindings($bindings) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->cleanBindings($bindings); + } + + /** + * Get the database query processor instance. + * + * @return \Illuminate\Database\Query\Processors\Processor + * @static + */ + public static function getProcessor() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getProcessor(); + } + + /** + * Get the query grammar instance. + * + * @return \Illuminate\Database\Query\Grammars\Grammar + * @static + */ + public static function getGrammar() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->getGrammar(); + } + + /** + * Use the "write" PDO connection when executing the query. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function useWritePdo() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->useWritePdo(); + } + + /** + * Clone the query without the given properties. + * + * @return static + * @static + */ + public static function cloneWithout($properties) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->cloneWithout($properties); + } + + /** + * Clone the query without the given bindings. + * + * @return static + * @static + */ + public static function cloneWithoutBindings($except) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->cloneWithoutBindings($except); + } + + /** + * Dump the current SQL and bindings. + * + * @param mixed $args + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function dump(...$args) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->dump(...$args); + } + + /** + * Dump the raw current SQL with embedded bindings. + * + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function dumpRawSql() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->dumpRawSql(); + } + + /** + * Die and dump the current SQL and bindings. + * + * @return never + * @static + */ + public static function dd() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->dd(); + } + + /** + * Die and dump the current SQL with embedded bindings. + * + * @return never + * @static + */ + public static function ddRawSql() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->ddRawSql(); + } + + /** + * Add a where clause to determine if a "date" column is in the past to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function wherePast($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->wherePast($columns); + } + + /** + * Add a where clause to determine if a "date" column is in the past or now to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNowOrPast($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNowOrPast($columns); + } + + /** + * Add an "or where" clause to determine if a "date" column is in the past to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWherePast($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWherePast($columns); + } + + /** + * Add a where clause to determine if a "date" column is in the past or now to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNowOrPast($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNowOrPast($columns); + } + + /** + * Add a where clause to determine if a "date" column is in the future to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereFuture($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereFuture($columns); + } + + /** + * Add a where clause to determine if a "date" column is in the future or now to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNowOrFuture($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNowOrFuture($columns); + } + + /** + * Add an "or where" clause to determine if a "date" column is in the future to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereFuture($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereFuture($columns); + } + + /** + * Add an "or where" clause to determine if a "date" column is in the future or now to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNowOrFuture($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNowOrFuture($columns); + } + + /** + * Add a "where date" clause to determine if a "date" column is today to the query. + * + * @param array|string $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereToday($columns, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereToday($columns, $boolean); + } + + /** + * Add a "where date" clause to determine if a "date" column is before today. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereBeforeToday($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereBeforeToday($columns); + } + + /** + * Add a "where date" clause to determine if a "date" column is today or before to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereTodayOrBefore($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereTodayOrBefore($columns); + } + + /** + * Add a "where date" clause to determine if a "date" column is after today. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereAfterToday($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereAfterToday($columns); + } + + /** + * Add a "where date" clause to determine if a "date" column is today or after to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereTodayOrAfter($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereTodayOrAfter($columns); + } + + /** + * Add an "or where date" clause to determine if a "date" column is today to the query. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereToday($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereToday($columns); + } + + /** + * Add an "or where date" clause to determine if a "date" column is before today. + * + * @param array|string $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereBeforeToday($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereBeforeToday($columns); + } + + /** + * Add an "or where date" clause to determine if a "date" column is today or before to the query. + * + * @param array|string $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereTodayOrBefore($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereTodayOrBefore($columns); + } + + /** + * Add an "or where date" clause to determine if a "date" column is after today. + * + * @param array|string $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereAfterToday($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereAfterToday($columns); + } + + /** + * Add an "or where date" clause to determine if a "date" column is today or after to the query. + * + * @param array|string $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereTodayOrAfter($columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereTodayOrAfter($columns); + } + + /** + * Explains the query. + * + * @return \Illuminate\Support\Collection + * @static + */ + public static function explain() + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->explain(); + } + + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Database\Query\Builder::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Database\Query\Builder::mixin($mixin, $replace); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Database\Query\Builder::flushMacros(); + } + + /** + * Dynamically handle calls to the class. + * + * @param string $method + * @param array $parameters + * @return mixed + * @throws \BadMethodCallException + * @static + */ + public static function macroCall($method, $parameters) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->macroCall($method, $parameters); + } + +} + class Event extends \Illuminate\Support\Facades\Event {} + class File extends \Illuminate\Support\Facades\File {} + class Gate extends \Illuminate\Support\Facades\Gate {} + class Hash extends \Illuminate\Support\Facades\Hash {} + class Http extends \Illuminate\Support\Facades\Http {} + class Js extends \Illuminate\Support\Js {} + class Lang extends \Illuminate\Support\Facades\Lang {} + class Log extends \Illuminate\Support\Facades\Log {} + class Mail extends \Illuminate\Support\Facades\Mail {} + class Notification extends \Illuminate\Support\Facades\Notification {} + class Number extends \Illuminate\Support\Number {} + class Password extends \Illuminate\Support\Facades\Password {} + class Process extends \Illuminate\Support\Facades\Process {} + class Queue extends \Illuminate\Support\Facades\Queue {} + class RateLimiter extends \Illuminate\Support\Facades\RateLimiter {} + class Redirect extends \Illuminate\Support\Facades\Redirect {} + class Request extends \Illuminate\Support\Facades\Request {} + class Response extends \Illuminate\Support\Facades\Response {} + class Route extends \Illuminate\Support\Facades\Route {} + class Schedule extends \Illuminate\Support\Facades\Schedule {} + class Schema extends \Illuminate\Support\Facades\Schema {} + class Session extends \Illuminate\Support\Facades\Session {} + class Storage extends \Illuminate\Support\Facades\Storage {} + class Str extends \Illuminate\Support\Str {} + class URL extends \Illuminate\Support\Facades\URL {} + class Uri extends \Illuminate\Support\Uri {} + class Validator extends \Illuminate\Support\Facades\Validator {} + class View extends \Illuminate\Support\Facades\View {} + class Vite extends \Illuminate\Support\Facades\Vite {} + class Octane extends \Laravel\Octane\Facades\Octane {} + class Flare extends \Spatie\LaravelIgnition\Facades\Flare {} +} + + + + + diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php deleted file mode 100644 index e6b9960..0000000 --- a/app/Console/Kernel.php +++ /dev/null @@ -1,27 +0,0 @@ -command('inspire')->hourly(); - } - - /** - * Register the commands for the application. - */ - protected function commands(): void - { - $this->load(__DIR__.'/Commands'); - - require base_path('routes/console.php'); - } -} diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 83ed862..799d983 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -18,15 +18,12 @@ class RegisterController extends Controller { /** * Get a validator for an incoming registration request. - * - * @param array $data - * @return \Illuminate\Validation\Validator */ protected function validator(array $data): \Illuminate\Validation\Validator { return Validator::make($data, [ - 'login' => ['required', 'string', 'min:5', 'max:16', 'unique:account.account'], - 'email' => ['required', 'string', 'email', 'max:255', 'unique:account.account'], + 'login' => ['required', 'string', 'min:5', 'max:16', 'unique:account'], + 'email' => ['required', 'string', 'email', 'max:255', 'unique:account'], 'password' => ['required', 'string', 'min:5', 'max:16'], 'tac' => ['required'], ]); @@ -35,13 +32,11 @@ class RegisterController extends Controller /** * Create a new user instance after a valid registration. * - * @param array $data - * @return Account * @throws \Throwable */ protected function create(array $data): Account { - $account = new Account(); + $account = new Account; $account->login = $data['login']; $account->email = $data['email']; $account->password = Hash::make($data['password']); @@ -54,8 +49,6 @@ class RegisterController extends Controller /** * Executes the registration logic on a validator input * - * @param \Illuminate\Validation\Validator $validator - * @return RedirectResponse * @throws ValidationException * @throws \Throwable */ @@ -82,8 +75,6 @@ class RegisterController extends Controller /** * Show the application registration form. - * - * @return View */ public function showRegistrationForm(): View { @@ -93,21 +84,18 @@ class RegisterController extends Controller /** * Handle a registration request for the application. * - * @param Request $request - * @return RedirectResponse * @throws \Throwable */ public function register(Request $request): RedirectResponse { $validator = $this->validator($request->all()); + return $this->runRegistrationLogic($validator); } /** * Handle a registration request for the application. * - * @param Request $request - * @return RedirectResponse * @throws \Throwable */ public function registerFromHeader(Request $request): RedirectResponse diff --git a/app/Models/Account.php b/app/Models/Account.php index 389ebe2..3b439a1 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -14,13 +14,6 @@ class Account extends User implements MustVerifyEmail { use HasApiTokens, HasFactory, Notifiable; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'account'; - /** * The table associated with the model. * @@ -60,7 +53,7 @@ class Account extends User implements MustVerifyEmail protected $hidden = [ 'password', 'social_id', - 'securitycode' + 'securitycode', ]; /** @@ -70,13 +63,11 @@ class Account extends User implements MustVerifyEmail */ protected $casts = [ 'email_verified_at' => 'datetime', - 'status' => AccountStatusEnum::class + 'status' => AccountStatusEnum::class, ]; /** * Determine if the user has verified their email address. - * - * @return bool */ public function hasVerifiedEmail(): bool { @@ -85,8 +76,6 @@ class Account extends User implements MustVerifyEmail /** * Mark the given user's email as verified. - * - * @return bool */ public function markEmailAsVerified(): bool { @@ -97,8 +86,6 @@ class Account extends User implements MustVerifyEmail /** * Send the email verification notification. - * - * @return void */ public function sendEmailVerificationNotification(): void { @@ -107,8 +94,6 @@ class Account extends User implements MustVerifyEmail /** * Get the email address that should be used for verification. - * - * @return string */ public function getEmailForVerification(): string { diff --git a/app/Models/Game/Common/Locale.php b/app/Models/Game/Common/Locale.php index 795b3d4..0eafde2 100644 --- a/app/Models/Game/Common/Locale.php +++ b/app/Models/Game/Common/Locale.php @@ -13,13 +13,6 @@ class Locale extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'common'; - /** * The table associated with the model. * @@ -40,7 +33,7 @@ class Locale extends Model * @var array */ protected $fillable = [ - 'mKey', 'mValue' + 'mKey', 'mValue', ]; /** diff --git a/app/Models/Game/Highscore/GuildHighscoreCache.php b/app/Models/Game/Highscore/GuildHighscoreCache.php index 736a09d..b6a446e 100644 --- a/app/Models/Game/Highscore/GuildHighscoreCache.php +++ b/app/Models/Game/Highscore/GuildHighscoreCache.php @@ -14,13 +14,6 @@ class GuildHighscoreCache extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'website'; - /** * The table associated with the model. * @@ -60,6 +53,6 @@ class GuildHighscoreCache extends Model */ protected $casts = [ 'empire' => EmpireEnum::class, - 'date' => 'datetime' + 'date' => 'datetime', ]; } diff --git a/app/Models/Game/Highscore/HighscoreCache.php b/app/Models/Game/Highscore/HighscoreCache.php index 06dcf80..446b768 100644 --- a/app/Models/Game/Highscore/HighscoreCache.php +++ b/app/Models/Game/Highscore/HighscoreCache.php @@ -15,13 +15,6 @@ class HighscoreCache extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'website'; - /** * The table associated with the model. * @@ -62,6 +55,6 @@ class HighscoreCache extends Model protected $casts = [ 'job' => CharacterClassEnum::class, 'empire' => EmpireEnum::class, - 'date' => 'datetime' + 'date' => 'datetime', ]; } diff --git a/app/Models/Game/Player/Banword.php b/app/Models/Game/Player/Banword.php index bd8a424..9c83a20 100644 --- a/app/Models/Game/Player/Banword.php +++ b/app/Models/Game/Player/Banword.php @@ -13,13 +13,6 @@ class Banword extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * @@ -40,7 +33,7 @@ class Banword extends Model * @var array */ protected $fillable = [ - 'word' + 'word', ]; /** diff --git a/app/Models/Game/Player/ItemAttr.php b/app/Models/Game/Player/ItemAttr.php index da5b0c7..35d1f99 100644 --- a/app/Models/Game/Player/ItemAttr.php +++ b/app/Models/Game/Player/ItemAttr.php @@ -13,13 +13,6 @@ class ItemAttr extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/ItemAttrRare.php b/app/Models/Game/Player/ItemAttrRare.php index 0e0a3c6..5342c7b 100644 --- a/app/Models/Game/Player/ItemAttrRare.php +++ b/app/Models/Game/Player/ItemAttrRare.php @@ -13,13 +13,6 @@ class ItemAttrRare extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/ItemProto.php b/app/Models/Game/Player/ItemProto.php index 467ada6..8945f71 100644 --- a/app/Models/Game/Player/ItemProto.php +++ b/app/Models/Game/Player/ItemProto.php @@ -13,13 +13,6 @@ class ItemProto extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/Land.php b/app/Models/Game/Player/Land.php index 358a229..bc9f15e 100644 --- a/app/Models/Game/Player/Land.php +++ b/app/Models/Game/Player/Land.php @@ -13,13 +13,6 @@ class Land extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/ObjectProto.php b/app/Models/Game/Player/ObjectProto.php index 7a51b36..b0a8718 100644 --- a/app/Models/Game/Player/ObjectProto.php +++ b/app/Models/Game/Player/ObjectProto.php @@ -13,13 +13,6 @@ class ObjectProto extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/Player.php b/app/Models/Game/Player/Player.php index 8733f1e..37e48a0 100644 --- a/app/Models/Game/Player/Player.php +++ b/app/Models/Game/Player/Player.php @@ -18,13 +18,6 @@ class Player extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/PlayerIndex.php b/app/Models/Game/Player/PlayerIndex.php index d0bc845..cdf8b92 100644 --- a/app/Models/Game/Player/PlayerIndex.php +++ b/app/Models/Game/Player/PlayerIndex.php @@ -3,7 +3,6 @@ namespace App\Models\Game\Player; use App\Models\Account; -use App\Models\Enums\CharacterJobEnum; use App\Models\Enums\EmpireEnum; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -17,13 +16,6 @@ class PlayerIndex extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/RefineProto.php b/app/Models/Game/Player/RefineProto.php index f58a6f4..34c0dee 100644 --- a/app/Models/Game/Player/RefineProto.php +++ b/app/Models/Game/Player/RefineProto.php @@ -13,13 +13,6 @@ class RefineProto extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/Shop.php b/app/Models/Game/Player/Shop.php index 3b36fc4..065c21a 100644 --- a/app/Models/Game/Player/Shop.php +++ b/app/Models/Game/Player/Shop.php @@ -13,13 +13,6 @@ class Shop extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/ShopItem.php b/app/Models/Game/Player/ShopItem.php index 4ae5342..8a989af 100644 --- a/app/Models/Game/Player/ShopItem.php +++ b/app/Models/Game/Player/ShopItem.php @@ -13,13 +13,6 @@ class ShopItem extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Game/Player/SkillProto.php b/app/Models/Game/Player/SkillProto.php index 0a18d51..9d36ee4 100644 --- a/app/Models/Game/Player/SkillProto.php +++ b/app/Models/Game/Player/SkillProto.php @@ -13,13 +13,6 @@ class SkillProto extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'player'; - /** * The table associated with the model. * diff --git a/app/Models/Mall/MallCategory.php b/app/Models/Mall/MallCategory.php index 8750560..880f95a 100644 --- a/app/Models/Mall/MallCategory.php +++ b/app/Models/Mall/MallCategory.php @@ -14,13 +14,6 @@ class MallCategory extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'website'; - /** * The attributes that are mass assignable. * @@ -50,8 +43,6 @@ class MallCategory extends Model /** * Get the items in this category - * - * @return HasMany */ public function items(): HasMany { diff --git a/app/Models/Mall/MallItem.php b/app/Models/Mall/MallItem.php index 823d055..07a9aac 100644 --- a/app/Models/Mall/MallItem.php +++ b/app/Models/Mall/MallItem.php @@ -17,13 +17,6 @@ class MallItem extends Model */ public $timestamps = false; - /** - * The connection name for the model. - * - * @var string|null - */ - protected $connection = 'website'; - /** * The attributes that are mass assignable. * @@ -61,46 +54,45 @@ class MallItem extends Model /** * Get the associated item_proto entry - * - * @return HasOne */ public function proto(): HasOne { return $this->hasOne(ItemProto::class, 'vnum', 'vnum'); } - /** - * @return bool - */ public function userCanBuy(): bool { $user = Auth::user(); - if ($this->pricing == MallItemPricingEnum::CASH) + if ($this->pricing == MallItemPricingEnum::CASH) { return $user->cash >= $this->price; - elseif ($this->pricing == MallItemPricingEnum::MILEAGE) + } elseif ($this->pricing == MallItemPricingEnum::MILEAGE) { return $user->mileage >= $this->price; + } return false; } - public static function getSuggestions(int $maxCount, MallItem $forItem = null, string $frontpageDisplay = null) + public static function getSuggestions(int $maxCount, ?MallItem $forItem = null, ?string $frontpageDisplay = null) { $query = MallItem::query(); // Ignore the current item if specified - if ($forItem) + if ($forItem) { $query = $query->whereNotIn('vnum', [$forItem->vnum]); + } // Select items that are to be shown on the frontpage - if ($frontpageDisplay) + if ($frontpageDisplay) { $query = $query->where('other', $frontpageDisplay); + } $items = $query->get(); // Just return what we selected if we don't have enough items in the database - if ($items->count() <= $maxCount) + if ($items->count() <= $maxCount) { return $items; + } return $items->random($maxCount); } diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 2d65aac..86e9422 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -2,8 +2,6 @@ namespace App\Providers; -use Illuminate\Auth\Events\Registered; -use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Event; @@ -14,11 +12,7 @@ class EventServiceProvider extends ServiceProvider * * @var array> */ - protected $listen = [ - Registered::class => [ - SendEmailVerificationNotification::class, - ], - ]; + protected $listen = []; /** * Register any events for your application. diff --git a/composer.json b/composer.json index ba126c0..5df9129 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ "laravel/tinker": "^2.8" }, "require-dev": { + "barryvdh/laravel-ide-helper": "^3.5", "fakerphp/faker": "^1.9.1", "kitloong/laravel-migrations-generator": "^7.0", "laravel/pint": "^1.0", diff --git a/composer.lock b/composer.lock index 59c8e57..9431bc8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "304103575d8c6cd1c07a2d3f5a226f77", + "content-hash": "34ec1655d5daad80c8054955b0117451", "packages": [ { "name": "brick/math", - "version": "0.12.1", + "version": "0.12.3", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", "shasum": "" }, "require": { @@ -26,7 +26,7 @@ "require-dev": { "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^10.1", - "vimeo/psalm": "5.16.0" + "vimeo/psalm": "6.8.8" }, "type": "library", "autoload": { @@ -56,7 +56,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.1" + "source": "https://github.com/brick/math/tree/0.12.3" }, "funding": [ { @@ -64,7 +64,7 @@ "type": "github" } ], - "time": "2023-11-29T23:19:16+00:00" + "time": "2025-02-28T13:11:00+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -445,16 +445,16 @@ }, { "name": "egulias/email-validator", - "version": "4.0.2", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", - "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", "shasum": "" }, "require": { @@ -500,7 +500,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.4" }, "funding": [ { @@ -508,7 +508,7 @@ "type": "github" } ], - "time": "2023-10-06T06:47:41+00:00" + "time": "2025-03-06T22:45:56+00:00" }, { "name": "fruitcake/php-cors", @@ -645,16 +645,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.9.2", + "version": "7.9.3", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", "shasum": "" }, "require": { @@ -751,7 +751,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + "source": "https://github.com/guzzle/guzzle/tree/7.9.3" }, "funding": [ { @@ -767,20 +767,20 @@ "type": "tidelift" } ], - "time": "2024-07-24T11:22:20+00:00" + "time": "2025-03-27T13:37:11+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.4", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" + "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c", + "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", "shasum": "" }, "require": { @@ -834,7 +834,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.4" + "source": "https://github.com/guzzle/promises/tree/2.2.0" }, "funding": [ { @@ -850,20 +850,20 @@ "type": "tidelift" } ], - "time": "2024-10-17T10:06:22+00:00" + "time": "2025-03-27T13:27:01+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", "shasum": "" }, "require": { @@ -950,7 +950,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.0" + "source": "https://github.com/guzzle/psr7/tree/2.7.1" }, "funding": [ { @@ -966,20 +966,20 @@ "type": "tidelift" } ], - "time": "2024-07-18T11:15:46+00:00" + "time": "2025-03-27T12:30:47+00:00" }, { "name": "guzzlehttp/uri-template", - "version": "v1.0.3", + "version": "v1.0.4", "source": { "type": "git", "url": "https://github.com/guzzle/uri-template.git", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/30e286560c137526eccd4ce21b2de477ab0676d2", + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2", "shasum": "" }, "require": { @@ -1036,7 +1036,7 @@ ], "support": { "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + "source": "https://github.com/guzzle/uri-template/tree/v1.0.4" }, "funding": [ { @@ -1052,20 +1052,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T19:50:20+00:00" + "time": "2025-02-03T10:55:03+00:00" }, { "name": "laminas/laminas-diactoros", - "version": "3.5.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-diactoros.git", - "reference": "143a16306602ce56b8b092a7914fef03c37f9ed2" + "reference": "b068eac123f21c0e592de41deeb7403b88e0a89f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/143a16306602ce56b8b092a7914fef03c37f9ed2", - "reference": "143a16306602ce56b8b092a7914fef03c37f9ed2", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/b068eac123f21c0e592de41deeb7403b88e0a89f", + "reference": "b068eac123f21c0e592de41deeb7403b88e0a89f", "shasum": "" }, "require": { @@ -1086,7 +1086,7 @@ "ext-gd": "*", "ext-libxml": "*", "http-interop/http-factory-tests": "^2.2.0", - "laminas/laminas-coding-standard": "~2.5.0", + "laminas/laminas-coding-standard": "~3.0.0", "php-http/psr7-integration-tests": "^1.4.0", "phpunit/phpunit": "^10.5.36", "psalm/plugin-phpunit": "^0.19.0", @@ -1140,20 +1140,20 @@ "type": "community_bridge" } ], - "time": "2024-10-14T11:59:49+00:00" + "time": "2025-05-05T16:03:34+00:00" }, { "name": "laravel/framework", - "version": "v11.34.2", + "version": "v11.45.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "865da6d73dd353f07a7bcbd778c55966a620121f" + "reference": "b09ba32795b8e71df10856a2694706663984a239" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/865da6d73dd353f07a7bcbd778c55966a620121f", - "reference": "865da6d73dd353f07a7bcbd778c55966a620121f", + "url": "https://api.github.com/repos/laravel/framework/zipball/b09ba32795b8e71df10856a2694706663984a239", + "reference": "b09ba32795b8e71df10856a2694706663984a239", "shasum": "" }, "require": { @@ -1174,11 +1174,12 @@ "guzzlehttp/uri-template": "^1.0", "laravel/prompts": "^0.1.18|^0.2.0|^0.3.0", "laravel/serializable-closure": "^1.3|^2.0", - "league/commonmark": "^2.2.1", + "league/commonmark": "^2.7", "league/flysystem": "^3.25.1", "league/flysystem-local": "^3.25.1", + "league/uri": "^7.5.1", "monolog/monolog": "^3.0", - "nesbot/carbon": "^2.72.2|^3.4", + "nesbot/carbon": "^2.72.6|^3.8.4", "nunomaduro/termwind": "^2.0", "php": "^8.2", "psr/container": "^1.1.1|^2.0.1", @@ -1188,7 +1189,7 @@ "symfony/console": "^7.0.3", "symfony/error-handler": "^7.0.3", "symfony/finder": "^7.0.3", - "symfony/http-foundation": "^7.0.3", + "symfony/http-foundation": "^7.2.0", "symfony/http-kernel": "^7.0.3", "symfony/mailer": "^7.0.3", "symfony/mime": "^7.0.3", @@ -1202,7 +1203,6 @@ "voku/portable-ascii": "^2.0.2" }, "conflict": { - "mockery/mockery": "1.6.8", "tightenco/collect": "<5.5.33" }, "provide": { @@ -1254,17 +1254,18 @@ "fakerphp/faker": "^1.24", "guzzlehttp/promises": "^2.0.3", "guzzlehttp/psr7": "^2.4", + "laravel/pint": "^1.18", "league/flysystem-aws-s3-v3": "^3.25.1", "league/flysystem-ftp": "^3.25.1", "league/flysystem-path-prefixing": "^3.25.1", "league/flysystem-read-only": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1", "mockery/mockery": "^1.6.10", - "nyholm/psr7": "^1.2", - "orchestra/testbench-core": "^9.6", + "orchestra/testbench-core": "^9.13.2", "pda/pheanstalk": "^5.0.6", - "phpstan/phpstan": "^1.11.5", - "phpunit/phpunit": "^10.5.35|^11.3.6", + "php-http/discovery": "^1.15", + "phpstan/phpstan": "^2.0", + "phpunit/phpunit": "^10.5.35|^11.3.6|^12.0.1", "predis/predis": "^2.3", "resend/resend-php": "^0.10.0", "symfony/cache": "^7.0.3", @@ -1294,9 +1295,9 @@ "league/flysystem-read-only": "Required to use read-only disks (^3.25.1)", "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.25.1).", "mockery/mockery": "Required to use mocking (^1.6).", - "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).", + "php-http/discovery": "Required to use PSR-7 bridging features (^1.15).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.3.6|^12.0.1).", "predis/predis": "Required to use the predis connector (^2.3).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", @@ -1316,6 +1317,7 @@ }, "autoload": { "files": [ + "src/Illuminate/Collections/functions.php", "src/Illuminate/Collections/helpers.php", "src/Illuminate/Events/functions.php", "src/Illuminate/Filesystem/functions.php", @@ -1353,25 +1355,25 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-11-27T15:43:57+00:00" + "time": "2025-06-03T14:01:40+00:00" }, { "name": "laravel/octane", - "version": "v2.6.0", + "version": "v2.10.0", "source": { "type": "git", "url": "https://github.com/laravel/octane.git", - "reference": "b8b11ef25600baa835d364e724f2e948dc1eb88b" + "reference": "62bf04dcb471e7d91c8aeda9b4e7376a75000ee5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/octane/zipball/b8b11ef25600baa835d364e724f2e948dc1eb88b", - "reference": "b8b11ef25600baa835d364e724f2e948dc1eb88b", + "url": "https://api.github.com/repos/laravel/octane/zipball/62bf04dcb471e7d91c8aeda9b4e7376a75000ee5", + "reference": "62bf04dcb471e7d91c8aeda9b4e7376a75000ee5", "shasum": "" }, "require": { "laminas/laminas-diactoros": "^3.0", - "laravel/framework": "^10.10.1|^11.0", + "laravel/framework": "^10.10.1|^11.0|^12.0", "laravel/prompts": "^0.1.24|^0.2.0|^0.3.0", "laravel/serializable-closure": "^1.3|^2.0", "nesbot/carbon": "^2.66.0|^3.0", @@ -1386,15 +1388,15 @@ }, "require-dev": { "guzzlehttp/guzzle": "^7.6.1", - "inertiajs/inertia-laravel": "^0.6.9|^1.0", + "inertiajs/inertia-laravel": "^1.3.2|^2.0", "laravel/scout": "^10.2.1", "laravel/socialite": "^5.6.1", "livewire/livewire": "^2.12.3|^3.0", "mockery/mockery": "^1.5.1", "nunomaduro/collision": "^6.4.0|^7.5.2|^8.0", - "orchestra/testbench": "^8.21|^9.0", - "phpstan/phpstan": "^1.10.15", - "phpunit/phpunit": "^10.4", + "orchestra/testbench": "^8.21|^9.0|^10.0", + "phpstan/phpstan": "^2.1.7", + "phpunit/phpunit": "^10.4|^11.5", "spiral/roadrunner-cli": "^2.6.0", "spiral/roadrunner-http": "^3.3.0" }, @@ -1443,20 +1445,20 @@ "issues": "https://github.com/laravel/octane/issues", "source": "https://github.com/laravel/octane" }, - "time": "2024-11-25T21:47:18+00:00" + "time": "2025-06-16T13:44:31+00:00" }, { "name": "laravel/prompts", - "version": "v0.3.2", + "version": "v0.3.5", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f" + "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/0e0535747c6b8d6d10adca8b68293cf4517abb0f", - "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f", + "url": "https://api.github.com/repos/laravel/prompts/zipball/57b8f7efe40333cdb925700891c7d7465325d3b1", + "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1", "shasum": "" }, "require": { @@ -1470,7 +1472,7 @@ "laravel/framework": ">=10.17.0 <10.25.0" }, "require-dev": { - "illuminate/collections": "^10.0|^11.0", + "illuminate/collections": "^10.0|^11.0|^12.0", "mockery/mockery": "^1.5", "pestphp/pest": "^2.3|^3.4", "phpstan/phpstan": "^1.11", @@ -1500,38 +1502,38 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.3.2" + "source": "https://github.com/laravel/prompts/tree/v0.3.5" }, - "time": "2024-11-12T14:59:47+00:00" + "time": "2025-02-11T13:34:40+00:00" }, { "name": "laravel/sanctum", - "version": "v4.0.5", + "version": "v4.1.1", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "fe361b9a63407a228f884eb78d7217f680b50140" + "reference": "a360a6a1fd2400ead4eb9b6a9c1bb272939194f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/fe361b9a63407a228f884eb78d7217f680b50140", - "reference": "fe361b9a63407a228f884eb78d7217f680b50140", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/a360a6a1fd2400ead4eb9b6a9c1bb272939194f5", + "reference": "a360a6a1fd2400ead4eb9b6a9c1bb272939194f5", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/console": "^11.0", - "illuminate/contracts": "^11.0", - "illuminate/database": "^11.0", - "illuminate/support": "^11.0", + "illuminate/console": "^11.0|^12.0", + "illuminate/contracts": "^11.0|^12.0", + "illuminate/database": "^11.0|^12.0", + "illuminate/support": "^11.0|^12.0", "php": "^8.2", "symfony/console": "^7.0" }, "require-dev": { "mockery/mockery": "^1.6", - "orchestra/testbench": "^9.0", + "orchestra/testbench": "^9.0|^10.0", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^10.5" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { @@ -1566,29 +1568,29 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2024-11-26T14:36:23+00:00" + "time": "2025-04-23T13:03:38+00:00" }, { "name": "laravel/serializable-closure", - "version": "v2.0.0", + "version": "v2.0.4", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "0d8d3d8086984996df86596a86dea60398093a81" + "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/0d8d3d8086984996df86596a86dea60398093a81", - "reference": "0d8d3d8086984996df86596a86dea60398093a81", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/b352cf0534aa1ae6b4d825d1e762e35d43f8a841", + "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841", "shasum": "" }, "require": { "php": "^8.1" }, "require-dev": { - "illuminate/support": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0|^12.0", "nesbot/carbon": "^2.67|^3.0", - "pestphp/pest": "^2.36", + "pestphp/pest": "^2.36|^3.0", "phpstan/phpstan": "^2.0", "symfony/var-dumper": "^6.2.0|^7.0.0" }, @@ -1627,26 +1629,26 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2024-11-19T01:38:44+00:00" + "time": "2025-03-19T13:51:03+00:00" }, { "name": "laravel/tinker", - "version": "v2.10.0", + "version": "v2.10.1", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5" + "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/ba4d51eb56de7711b3a37d63aa0643e99a339ae5", - "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5", + "url": "https://api.github.com/repos/laravel/tinker/zipball/22177cc71807d38f2810c6204d8f7183d88a57d3", + "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", "php": "^7.2.5|^8.0", "psy/psysh": "^0.11.1|^0.12.0", "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" @@ -1654,10 +1656,10 @@ "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.5.8|^9.3.3" + "phpunit/phpunit": "^8.5.8|^9.3.3|^10.0" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0)." }, "type": "library", "extra": { @@ -1691,22 +1693,22 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.10.0" + "source": "https://github.com/laravel/tinker/tree/v2.10.1" }, - "time": "2024-09-23T13:32:56+00:00" + "time": "2025-01-27T14:24:01+00:00" }, { "name": "league/commonmark", - "version": "2.6.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "d150f911e0079e90ae3c106734c93137c184f932" + "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d150f911e0079e90ae3c106734c93137c184f932", - "reference": "d150f911e0079e90ae3c106734c93137c184f932", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", + "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", "shasum": "" }, "require": { @@ -1743,7 +1745,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.7-dev" + "dev-main": "2.8-dev" } }, "autoload": { @@ -1800,7 +1802,7 @@ "type": "tidelift" } ], - "time": "2024-12-07T15:34:16+00:00" + "time": "2025-05-05T12:20:28+00:00" }, { "name": "league/config", @@ -2073,17 +2075,191 @@ "time": "2024-09-21T08:32:55+00:00" }, { - "name": "monolog/monolog", - "version": "3.8.1", + "name": "league/uri", + "version": "7.5.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "aef6ee73a77a66e404dd6540934a9ef1b3c855b4" + "url": "https://github.com/thephpleague/uri.git", + "reference": "81fb5145d2644324614cc532b28efd0215bda430" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/aef6ee73a77a66e404dd6540934a9ef1b3c855b4", - "reference": "aef6ee73a77a66e404dd6540934a9ef1b3c855b4", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/81fb5145d2644324614cc532b28efd0215bda430", + "reference": "81fb5145d2644324614cc532b28efd0215bda430", + "shasum": "" + }, + "require": { + "league/uri-interfaces": "^7.5", + "php": "^8.1" + }, + "conflict": { + "league/uri-schemes": "^1.0" + }, + "suggest": { + "ext-bcmath": "to improve IPV4 host parsing", + "ext-fileinfo": "to create Data URI from file contennts", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain", + "league/uri-components": "Needed to easily manipulate URI objects components", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "URI manipulation library", + "homepage": "https://uri.thephpleague.com", + "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "middleware", + "parse_str", + "parse_url", + "psr-7", + "query-string", + "querystring", + "rfc3986", + "rfc3987", + "rfc6570", + "uri", + "uri-template", + "url", + "ws" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri/tree/7.5.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2024-12-08T08:40:02+00:00" + }, + { + "name": "league/uri-interfaces", + "version": "7.5.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/uri-interfaces.git", + "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", + "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^8.1", + "psr/http-factory": "^1", + "psr/http-message": "^1.1 || ^2.0" + }, + "suggest": { + "ext-bcmath": "to improve IPV4 host parsing", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "Common interfaces and classes for URI representation and interaction", + "homepage": "https://uri.thephpleague.com", + "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "parse_str", + "parse_url", + "psr-7", + "query-string", + "querystring", + "rfc3986", + "rfc3987", + "rfc6570", + "uri", + "url", + "ws" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri-interfaces/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2024-12-08T08:18:47+00:00" + }, + { + "name": "monolog/monolog", + "version": "3.9.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6", + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6", "shasum": "" }, "require": { @@ -2161,7 +2337,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.8.1" + "source": "https://github.com/Seldaek/monolog/tree/3.9.0" }, "funding": [ { @@ -2173,20 +2349,20 @@ "type": "tidelift" } ], - "time": "2024-12-05T17:15:07+00:00" + "time": "2025-03-24T10:02:05+00:00" }, { "name": "nesbot/carbon", - "version": "3.8.2", + "version": "3.10.0", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "e1268cdbc486d97ce23fef2c666dc3c6b6de9947" + "url": "https://github.com/CarbonPHP/carbon.git", + "reference": "c1397390dd0a7e0f11660f0ae20f753d88c1f3d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/e1268cdbc486d97ce23fef2c666dc3c6b6de9947", - "reference": "e1268cdbc486d97ce23fef2c666dc3c6b6de9947", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/c1397390dd0a7e0f11660f0ae20f753d88c1f3d9", + "reference": "c1397390dd0a7e0f11660f0ae20f753d88c1f3d9", "shasum": "" }, "require": { @@ -2194,9 +2370,9 @@ "ext-json": "*", "php": "^8.1", "psr/clock": "^1.0", - "symfony/clock": "^6.3 || ^7.0", + "symfony/clock": "^6.3.12 || ^7.0", "symfony/polyfill-mbstring": "^1.0", - "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0" + "symfony/translation": "^4.4.18 || ^5.2.1 || ^6.0 || ^7.0" }, "provide": { "psr/clock-implementation": "1.0" @@ -2204,24 +2380,19 @@ "require-dev": { "doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/orm": "^2.15.2 || ^3.0", - "friendsofphp/php-cs-fixer": "^3.57.2", + "friendsofphp/php-cs-fixer": "^3.75.0", "kylekatarnls/multi-tester": "^2.5.3", - "ondrejmirtes/better-reflection": "^6.25.0.4", "phpmd/phpmd": "^2.15.0", - "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.11.2", - "phpunit/phpunit": "^10.5.20", - "squizlabs/php_codesniffer": "^3.9.0" + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^2.1.17", + "phpunit/phpunit": "^10.5.46", + "squizlabs/php_codesniffer": "^3.13.0" }, "bin": [ "bin/carbon" ], "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.x-dev", - "dev-2.x": "2.x-dev" - }, "laravel": { "providers": [ "Carbon\\Laravel\\ServiceProvider" @@ -2231,6 +2402,10 @@ "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-master": "3.x-dev" } }, "autoload": { @@ -2262,8 +2437,8 @@ ], "support": { "docs": "https://carbon.nesbot.com/docs", - "issues": "https://github.com/briannesbitt/Carbon/issues", - "source": "https://github.com/briannesbitt/Carbon" + "issues": "https://github.com/CarbonPHP/carbon/issues", + "source": "https://github.com/CarbonPHP/carbon" }, "funding": [ { @@ -2279,7 +2454,7 @@ "type": "tidelift" } ], - "time": "2024-11-07T17:46:48+00:00" + "time": "2025-06-12T10:24:28+00:00" }, { "name": "nette/schema", @@ -2345,16 +2520,16 @@ }, { "name": "nette/utils", - "version": "v4.0.5", + "version": "v4.0.7", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" + "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "url": "https://api.github.com/repos/nette/utils/zipball/e67c4061eb40b9c113b218214e42cb5a0dda28f2", + "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2", "shasum": "" }, "require": { @@ -2425,22 +2600,22 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.5" + "source": "https://github.com/nette/utils/tree/v4.0.7" }, - "time": "2024-08-07T15:39:19+00:00" + "time": "2025-06-03T04:55:08+00:00" }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.5.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "ae59794362fe85e051a58ad36b289443f57be7a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9", + "reference": "ae59794362fe85e051a58ad36b289443f57be7a9", "shasum": "" }, "require": { @@ -2483,37 +2658,37 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2025-05-31T08:24:38+00:00" }, { "name": "nunomaduro/termwind", - "version": "v2.3.0", + "version": "v2.3.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda" + "reference": "dfa08f390e509967a15c22493dc0bac5733d9123" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/52915afe6a1044e8b9cee1bcff836fb63acf9cda", - "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/dfa08f390e509967a15c22493dc0bac5733d9123", + "reference": "dfa08f390e509967a15c22493dc0bac5733d9123", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.2", - "symfony/console": "^7.1.8" + "symfony/console": "^7.2.6" }, "require-dev": { - "illuminate/console": "^11.33.2", - "laravel/pint": "^1.18.2", + "illuminate/console": "^11.44.7", + "laravel/pint": "^1.22.0", "mockery/mockery": "^1.6.12", - "pestphp/pest": "^2.36.0", - "phpstan/phpstan": "^1.12.11", - "phpstan/phpstan-strict-rules": "^1.6.1", - "symfony/var-dumper": "^7.1.8", + "pestphp/pest": "^2.36.0 || ^3.8.2", + "phpstan/phpstan": "^1.12.25", + "phpstan/phpstan-strict-rules": "^1.6.2", + "symfony/var-dumper": "^7.2.6", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -2556,7 +2731,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v2.3.0" + "source": "https://github.com/nunomaduro/termwind/tree/v2.3.1" }, "funding": [ { @@ -2572,7 +2747,7 @@ "type": "github" } ], - "time": "2024-11-21T10:39:51+00:00" + "time": "2025-05-08T08:14:37+00:00" }, { "name": "phpoption/phpoption", @@ -3063,16 +3238,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.5", + "version": "v0.12.8", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "36a03ff27986682c22985e56aabaf840dd173cb5" + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/36a03ff27986682c22985e56aabaf840dd173cb5", - "reference": "36a03ff27986682c22985e56aabaf840dd173cb5", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/85057ceedee50c49d4f6ecaff73ee96adb3b3625", + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625", "shasum": "" }, "require": { @@ -3136,9 +3311,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.5" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.8" }, - "time": "2024-11-29T06:14:30+00:00" + "time": "2025-03-16T03:05:19+00:00" }, { "name": "ralouphie/getallheaders", @@ -3186,16 +3361,16 @@ }, { "name": "ramsey/collection", - "version": "2.0.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "url": "https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2", + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2", "shasum": "" }, "require": { @@ -3203,25 +3378,22 @@ }, "require-dev": { "captainhook/plugin-composer": "^5.3", - "ergebnis/composer-normalize": "^2.28.3", - "fakerphp/faker": "^1.21", + "ergebnis/composer-normalize": "^2.45", + "fakerphp/faker": "^1.24", "hamcrest/hamcrest-php": "^2.0", - "jangregor/phpstan-prophecy": "^1.0", - "mockery/mockery": "^1.5", + "jangregor/phpstan-prophecy": "^2.1", + "mockery/mockery": "^1.6", "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3", - "phpcsstandards/phpcsutils": "^1.0.0-rc1", - "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5", - "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18.4", - "ramsey/coding-standard": "^2.0.3", - "ramsey/conventional-commits": "^1.3", - "vimeo/psalm": "^5.4" + "php-parallel-lint/php-parallel-lint": "^1.4", + "phpspec/prophecy-phpunit": "^2.3", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5", + "ramsey/coding-standard": "^2.3", + "ramsey/conventional-commits": "^1.6", + "roave/security-advisories": "dev-latest" }, "type": "library", "extra": { @@ -3259,36 +3431,26 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/2.0.0" + "source": "https://github.com/ramsey/collection/tree/2.1.1" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", - "type": "tidelift" - } - ], - "time": "2022-12-31T21:50:55+00:00" + "time": "2025-03-22T05:38:12+00:00" }, { "name": "ramsey/uuid", - "version": "4.7.6", + "version": "4.8.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28", + "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -3297,26 +3459,23 @@ "rhumsaa/uuid": "self.version" }, "require-dev": { - "captainhook/captainhook": "^5.10", + "captainhook/captainhook": "^5.25", "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.8", - "ergebnis/composer-normalize": "^2.15", - "mockery/mockery": "^1.3", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "ergebnis/composer-normalize": "^2.47", + "mockery/mockery": "^1.6", "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.2", - "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^8.5 || ^9", - "ramsey/composer-repl": "^1.4", - "slevomat/coding-standard": "^8.4", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.9" + "php-mock/php-mock": "^2.6", + "php-mock/php-mock-mockery": "^1.5", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "phpbench/phpbench": "^1.2.14", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6", + "slevomat/coding-standard": "^8.18", + "squizlabs/php_codesniffer": "^3.13" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", @@ -3351,23 +3510,13 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.6" + "source": "https://github.com/ramsey/uuid/tree/4.8.1" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", - "type": "tidelift" - } - ], - "time": "2024-04-27T21:32:50+00:00" + "time": "2025-06-01T06:28:46+00:00" }, { "name": "symfony/clock", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/clock.git", @@ -3421,7 +3570,7 @@ "time" ], "support": { - "source": "https://github.com/symfony/clock/tree/v7.2.0" + "source": "https://github.com/symfony/clock/tree/v7.3.0" }, "funding": [ { @@ -3441,23 +3590,24 @@ }, { "name": "symfony/console", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "23c8aae6d764e2bae02d2a99f7532a7f6ed619cf" + "reference": "66c1440edf6f339fd82ed6c7caa76cb006211b44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/23c8aae6d764e2bae02d2a99f7532a7f6ed619cf", - "reference": "23c8aae6d764e2bae02d2a99f7532a7f6ed619cf", + "url": "https://api.github.com/repos/symfony/console/zipball/66c1440edf6f339fd82ed6c7caa76cb006211b44", + "reference": "66c1440edf6f339fd82ed6c7caa76cb006211b44", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^6.4|^7.0" + "symfony/string": "^7.2" }, "conflict": { "symfony/dependency-injection": "<6.4", @@ -3514,7 +3664,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.2.0" + "source": "https://github.com/symfony/console/tree/v7.3.0" }, "funding": [ { @@ -3530,11 +3680,11 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:24:19+00:00" + "time": "2025-05-24T10:34:04+00:00" }, { "name": "symfony/css-selector", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -3579,7 +3729,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.2.0" + "source": "https://github.com/symfony/css-selector/tree/v7.3.0" }, "funding": [ { @@ -3599,16 +3749,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { @@ -3616,12 +3766,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -3646,7 +3796,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -3662,20 +3812,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/error-handler", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "672b3dd1ef8b87119b446d67c58c106c43f965fe" + "reference": "cf68d225bc43629de4ff54778029aee6dc191b83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/672b3dd1ef8b87119b446d67c58c106c43f965fe", - "reference": "672b3dd1ef8b87119b446d67c58c106c43f965fe", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/cf68d225bc43629de4ff54778029aee6dc191b83", + "reference": "cf68d225bc43629de4ff54778029aee6dc191b83", "shasum": "" }, "require": { @@ -3688,9 +3838,11 @@ "symfony/http-kernel": "<6.4" }, "require-dev": { + "symfony/console": "^6.4|^7.0", "symfony/deprecation-contracts": "^2.5|^3", "symfony/http-kernel": "^6.4|^7.0", - "symfony/serializer": "^6.4|^7.0" + "symfony/serializer": "^6.4|^7.0", + "symfony/webpack-encore-bundle": "^1.0|^2.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -3721,7 +3873,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v7.2.0" + "source": "https://github.com/symfony/error-handler/tree/v7.3.0" }, "funding": [ { @@ -3737,20 +3889,20 @@ "type": "tidelift" } ], - "time": "2024-11-05T15:35:02+00:00" + "time": "2025-05-29T07:19:49+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1" + "reference": "497f73ac996a598c92409b44ac43b6690c4f666d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/910c5db85a5356d0fea57680defec4e99eb9c8c1", - "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/497f73ac996a598c92409b44ac43b6690c4f666d", + "reference": "497f73ac996a598c92409b44ac43b6690c4f666d", "shasum": "" }, "require": { @@ -3801,7 +3953,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.2.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.3.0" }, "funding": [ { @@ -3817,20 +3969,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2025-04-22T09:11:45+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" + "reference": "59eb412e93815df44f05f342958efa9f46b1e586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", - "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", + "reference": "59eb412e93815df44f05f342958efa9f46b1e586", "shasum": "" }, "require": { @@ -3839,12 +3991,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -3877,7 +4029,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" }, "funding": [ { @@ -3893,20 +4045,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/finder", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49" + "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/6de263e5868b9a137602dd1e33e4d48bfae99c49", - "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49", + "url": "https://api.github.com/repos/symfony/finder/zipball/ec2344cf77a48253bbca6939aa3d2477773ea63d", + "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d", "shasum": "" }, "require": { @@ -3941,7 +4093,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.2.0" + "source": "https://github.com/symfony/finder/tree/v7.3.0" }, "funding": [ { @@ -3957,20 +4109,20 @@ "type": "tidelift" } ], - "time": "2024-10-23T06:56:12+00:00" + "time": "2024-12-30T19:00:26+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744" + "reference": "4236baf01609667d53b20371486228231eb135fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e88a66c3997859532bc2ddd6dd8f35aba2711744", - "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/4236baf01609667d53b20371486228231eb135fd", + "reference": "4236baf01609667d53b20371486228231eb135fd", "shasum": "" }, "require": { @@ -3987,6 +4139,7 @@ "doctrine/dbal": "^3.6|^4", "predis/predis": "^1.1|^2.0", "symfony/cache": "^6.4.12|^7.1.5", + "symfony/clock": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", "symfony/expression-language": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", @@ -4019,7 +4172,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.2.0" + "source": "https://github.com/symfony/http-foundation/tree/v7.3.0" }, "funding": [ { @@ -4035,20 +4188,20 @@ "type": "tidelift" } ], - "time": "2024-11-13T18:58:46+00:00" + "time": "2025-05-12T14:48:23+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "6b4722a25e0aed1ccb4914b9bcbd493cc4676b4d" + "reference": "ac7b8e163e8c83dce3abcc055a502d4486051a9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6b4722a25e0aed1ccb4914b9bcbd493cc4676b4d", - "reference": "6b4722a25e0aed1ccb4914b9bcbd493cc4676b4d", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ac7b8e163e8c83dce3abcc055a502d4486051a9f", + "reference": "ac7b8e163e8c83dce3abcc055a502d4486051a9f", "shasum": "" }, "require": { @@ -4056,8 +4209,8 @@ "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", "symfony/error-handler": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", + "symfony/event-dispatcher": "^7.3", + "symfony/http-foundation": "^7.3", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -4133,7 +4286,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.2.0" + "source": "https://github.com/symfony/http-kernel/tree/v7.3.0" }, "funding": [ { @@ -4149,20 +4302,20 @@ "type": "tidelift" } ], - "time": "2024-11-29T08:42:40+00:00" + "time": "2025-05-29T07:47:32+00:00" }, { "name": "symfony/mailer", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "e4d358702fb66e4c8a2af08e90e7271a62de39cc" + "reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/e4d358702fb66e4c8a2af08e90e7271a62de39cc", - "reference": "e4d358702fb66e4c8a2af08e90e7271a62de39cc", + "url": "https://api.github.com/repos/symfony/mailer/zipball/0f375bbbde96ae8c78e4aa3e63aabd486e33364c", + "reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c", "shasum": "" }, "require": { @@ -4213,7 +4366,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.2.0" + "source": "https://github.com/symfony/mailer/tree/v7.3.0" }, "funding": [ { @@ -4229,20 +4382,20 @@ "type": "tidelift" } ], - "time": "2024-11-25T15:21:05+00:00" + "time": "2025-04-04T09:51:09+00:00" }, { "name": "symfony/mime", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "cc84a4b81f62158c3846ac7ff10f696aae2b524d" + "reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/cc84a4b81f62158c3846ac7ff10f696aae2b524d", - "reference": "cc84a4b81f62158c3846ac7ff10f696aae2b524d", + "url": "https://api.github.com/repos/symfony/mime/zipball/0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9", + "reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9", "shasum": "" }, "require": { @@ -4297,7 +4450,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.2.0" + "source": "https://github.com/symfony/mime/tree/v7.3.0" }, "funding": [ { @@ -4313,11 +4466,11 @@ "type": "tidelift" } ], - "time": "2024-11-23T09:19:39+00:00" + "time": "2025-02-19T08:51:26+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -4341,8 +4494,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4376,7 +4529,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.32.0" }, "funding": [ { @@ -4396,7 +4549,7 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", @@ -4417,8 +4570,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4454,7 +4607,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.32.0" }, "funding": [ { @@ -4474,16 +4627,16 @@ }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3", + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3", "shasum": "" }, "require": { @@ -4496,8 +4649,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4537,7 +4690,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.32.0" }, "funding": [ { @@ -4553,11 +4706,11 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-09-10T14:38:51+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -4578,8 +4731,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4618,7 +4771,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.32.0" }, "funding": [ { @@ -4638,19 +4791,20 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", "shasum": "" }, "require": { + "ext-iconv": "*", "php": ">=7.2" }, "provide": { @@ -4662,8 +4816,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4698,7 +4852,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.32.0" }, "funding": [ { @@ -4714,20 +4868,20 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-12-23T08:48:59+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608", + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608", "shasum": "" }, "require": { @@ -4736,8 +4890,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4778,7 +4932,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.32.0" }, "funding": [ { @@ -4794,11 +4948,11 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2025-01-02T08:10:11+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", @@ -4816,8 +4970,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4854,7 +5008,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.32.0" }, "funding": [ { @@ -4874,7 +5028,7 @@ }, { "name": "symfony/polyfill-uuid", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", @@ -4898,8 +5052,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4933,7 +5087,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.32.0" }, "funding": [ { @@ -4953,16 +5107,16 @@ }, { "name": "symfony/process", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e" + "reference": "40c295f2deb408d5e9d2d32b8ba1dd61e36f05af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", - "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "url": "https://api.github.com/repos/symfony/process/zipball/40c295f2deb408d5e9d2d32b8ba1dd61e36f05af", + "reference": "40c295f2deb408d5e9d2d32b8ba1dd61e36f05af", "shasum": "" }, "require": { @@ -4994,7 +5148,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.2.0" + "source": "https://github.com/symfony/process/tree/v7.3.0" }, "funding": [ { @@ -5010,11 +5164,11 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:24:19+00:00" + "time": "2025-04-17T09:11:12+00:00" }, { "name": "symfony/psr-http-message-bridge", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", @@ -5077,7 +5231,7 @@ "psr-7" ], "support": { - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v7.2.0" + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v7.3.0" }, "funding": [ { @@ -5097,16 +5251,16 @@ }, { "name": "symfony/routing", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "e10a2450fa957af6c448b9b93c9010a4e4c0725e" + "reference": "8e213820c5fea844ecea29203d2a308019007c15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e10a2450fa957af6c448b9b93c9010a4e4c0725e", - "reference": "e10a2450fa957af6c448b9b93c9010a4e4c0725e", + "url": "https://api.github.com/repos/symfony/routing/zipball/8e213820c5fea844ecea29203d2a308019007c15", + "reference": "8e213820c5fea844ecea29203d2a308019007c15", "shasum": "" }, "require": { @@ -5158,7 +5312,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v7.2.0" + "source": "https://github.com/symfony/routing/tree/v7.3.0" }, "funding": [ { @@ -5174,20 +5328,20 @@ "type": "tidelift" } ], - "time": "2024-11-25T11:08:51+00:00" + "time": "2025-05-24T20:43:28+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", "shasum": "" }, "require": { @@ -5200,12 +5354,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -5241,7 +5395,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" }, "funding": [ { @@ -5257,20 +5411,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2025-04-25T09:37:31+00:00" }, { "name": "symfony/string", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" + "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", + "url": "https://api.github.com/repos/symfony/string/zipball/f3570b8c61ca887a9e2938e85cb6458515d2b125", + "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125", "shasum": "" }, "require": { @@ -5328,7 +5482,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.2.0" + "source": "https://github.com/symfony/string/tree/v7.3.0" }, "funding": [ { @@ -5344,20 +5498,20 @@ "type": "tidelift" } ], - "time": "2024-11-13T13:31:26+00:00" + "time": "2025-04-20T20:19:01+00:00" }, { "name": "symfony/translation", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5" + "reference": "4aba29076a29a3aa667e09b791e5f868973a8667" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/dc89e16b44048ceecc879054e5b7f38326ab6cc5", - "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5", + "url": "https://api.github.com/repos/symfony/translation/zipball/4aba29076a29a3aa667e09b791e5f868973a8667", + "reference": "4aba29076a29a3aa667e09b791e5f868973a8667", "shasum": "" }, "require": { @@ -5367,6 +5521,7 @@ "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { + "nikic/php-parser": "<5.0", "symfony/config": "<6.4", "symfony/console": "<6.4", "symfony/dependency-injection": "<6.4", @@ -5380,7 +5535,7 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { - "nikic/php-parser": "^4.18|^5.0", + "nikic/php-parser": "^5.0", "psr/log": "^1|^2|^3", "symfony/config": "^6.4|^7.0", "symfony/console": "^6.4|^7.0", @@ -5423,7 +5578,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.2.0" + "source": "https://github.com/symfony/translation/tree/v7.3.0" }, "funding": [ { @@ -5439,20 +5594,20 @@ "type": "tidelift" } ], - "time": "2024-11-12T20:47:56+00:00" + "time": "2025-05-29T07:19:49+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "4667ff3bd513750603a09c8dedbea942487fb07c" + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/4667ff3bd513750603a09c8dedbea942487fb07c", - "reference": "4667ff3bd513750603a09c8dedbea942487fb07c", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/df210c7a2573f1913b2d17cc95f90f53a73d8f7d", + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d", "shasum": "" }, "require": { @@ -5460,12 +5615,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -5501,7 +5656,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.6.0" }, "funding": [ { @@ -5517,20 +5672,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-27T08:32:26+00:00" }, { "name": "symfony/uid", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "2d294d0c48df244c71c105a169d0190bfb080426" + "reference": "7beeb2b885cd584cd01e126c5777206ae4c3c6a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2d294d0c48df244c71c105a169d0190bfb080426", - "reference": "2d294d0c48df244c71c105a169d0190bfb080426", + "url": "https://api.github.com/repos/symfony/uid/zipball/7beeb2b885cd584cd01e126c5777206ae4c3c6a3", + "reference": "7beeb2b885cd584cd01e126c5777206ae4c3c6a3", "shasum": "" }, "require": { @@ -5575,7 +5730,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v7.2.0" + "source": "https://github.com/symfony/uid/tree/v7.3.0" }, "funding": [ { @@ -5591,24 +5746,25 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2025-05-24T14:28:13+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c" + "reference": "548f6760c54197b1084e1e5c71f6d9d523f2f78e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c", - "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/548f6760c54197b1084e1e5c71f6d9d523f2f78e", + "reference": "548f6760c54197b1084e1e5c71f6d9d523f2f78e", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -5658,7 +5814,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.2.0" + "source": "https://github.com/symfony/var-dumper/tree/v7.3.0" }, "funding": [ { @@ -5674,35 +5830,37 @@ "type": "tidelift" } ], - "time": "2024-11-08T15:48:14+00:00" + "time": "2025-04-27T18:39:23+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "v2.2.7", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" + "reference": "0d72ac1c00084279c1816675284073c5a337c20d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", - "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d", + "reference": "0d72ac1c00084279c1816675284073c5a337c20d", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", - "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + "php": "^7.4 || ^8.0", + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^8.5.21 || ^9.5.10" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -5725,22 +5883,22 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.3.0" }, - "time": "2023-12-08T13:03:43+00:00" + "time": "2024-12-21T16:25:41+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.6.1", + "version": "v5.6.2", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af", "shasum": "" }, "require": { @@ -5799,7 +5957,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.2" }, "funding": [ { @@ -5811,7 +5969,7 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:52:34+00:00" + "time": "2025-04-30T23:37:27+00:00" }, { "name": "voku/portable-ascii", @@ -5947,6 +6105,304 @@ } ], "packages-dev": [ + { + "name": "barryvdh/laravel-ide-helper", + "version": "v3.5.5", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-ide-helper.git", + "reference": "8d441ec99f8612b942b55f5183151d91591b618a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/8d441ec99f8612b942b55f5183151d91591b618a", + "reference": "8d441ec99f8612b942b55f5183151d91591b618a", + "shasum": "" + }, + "require": { + "barryvdh/reflection-docblock": "^2.3", + "composer/class-map-generator": "^1.0", + "ext-json": "*", + "illuminate/console": "^11.15 || ^12", + "illuminate/database": "^11.15 || ^12", + "illuminate/filesystem": "^11.15 || ^12", + "illuminate/support": "^11.15 || ^12", + "php": "^8.2" + }, + "require-dev": { + "ext-pdo_sqlite": "*", + "friendsofphp/php-cs-fixer": "^3", + "illuminate/config": "^11.15 || ^12", + "illuminate/view": "^11.15 || ^12", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^9.2 || ^10", + "phpunit/phpunit": "^10.5 || ^11.5.3", + "spatie/phpunit-snapshot-assertions": "^4 || ^5", + "vimeo/psalm": "^5.4", + "vlucas/phpdotenv": "^5" + }, + "suggest": { + "illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10|^11)." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "3.5-dev" + } + }, + "autoload": { + "psr-4": { + "Barryvdh\\LaravelIdeHelper\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.", + "keywords": [ + "autocomplete", + "codeintel", + "dev", + "helper", + "ide", + "laravel", + "netbeans", + "phpdoc", + "phpstorm", + "sublime" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-ide-helper/issues", + "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.5" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2025-02-11T13:59:46+00:00" + }, + { + "name": "barryvdh/reflection-docblock", + "version": "v2.3.1", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/ReflectionDocBlock.git", + "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/b6ff9f93603561f50e53b64310495d20b8dff5d8", + "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.14|^9" + }, + "suggest": { + "dflydev/markdown": "~1.0", + "erusev/parsedown": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3.x-dev" + } + }, + "autoload": { + "psr-0": { + "Barryvdh": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "mike.vanriel@naenius.com" + } + ], + "support": { + "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.3.1" + }, + "time": "2025-01-18T19:26:32+00:00" + }, + { + "name": "composer/class-map-generator", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/composer/class-map-generator.git", + "reference": "134b705ddb0025d397d8318a75825fe3c9d1da34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/134b705ddb0025d397d8318a75825fe3c9d1da34", + "reference": "134b705ddb0025d397d8318a75825fe3c9d1da34", + "shasum": "" + }, + "require": { + "composer/pcre": "^2.1 || ^3.1", + "php": "^7.2 || ^8.0", + "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-deprecation-rules": "^1 || ^2", + "phpstan/phpstan-phpunit": "^1 || ^2", + "phpstan/phpstan-strict-rules": "^1.1 || ^2", + "phpunit/phpunit": "^8", + "symfony/filesystem": "^5.4 || ^6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\ClassMapGenerator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Utilities to scan PHP code and generate class maps.", + "keywords": [ + "classmap" + ], + "support": { + "issues": "https://github.com/composer/class-map-generator/issues", + "source": "https://github.com/composer/class-map-generator/tree/1.6.1" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2025-03-24T13:50:44+00:00" + }, + { + "name": "composer/pcre", + "version": "3.3.2", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<1.11.10" + }, + "require-dev": { + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", + "phpunit/phpunit": "^8 || ^9" + }, + "type": "library", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + }, + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Pcre\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], + "support": { + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.3.2" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2024-11-12T16:29:46+00:00" + }, { "name": "fakerphp/faker", "version": "v1.24.1", @@ -6012,16 +6468,16 @@ }, { "name": "filp/whoops", - "version": "2.16.0", + "version": "2.18.3", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" + "reference": "59a123a3d459c5a23055802237cb317f609867e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", - "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", + "url": "https://api.github.com/repos/filp/whoops/zipball/59a123a3d459c5a23055802237cb317f609867e5", + "reference": "59a123a3d459c5a23055802237cb317f609867e5", "shasum": "" }, "require": { @@ -6071,7 +6527,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.16.0" + "source": "https://github.com/filp/whoops/tree/2.18.3" }, "funding": [ { @@ -6079,24 +6535,24 @@ "type": "github" } ], - "time": "2024-09-25T12:00:00+00:00" + "time": "2025-06-16T00:02:10+00:00" }, { "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", + "version": "v2.1.1", "source": { "type": "git", "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", "shasum": "" }, "require": { - "php": "^5.3|^7.0|^8.0" + "php": "^7.4|^8.0" }, "replace": { "cordoval/hamcrest-php": "*", @@ -6104,8 +6560,8 @@ "kodova/hamcrest-php": "*" }, "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + "phpunit/php-file-iterator": "^1.4 || ^2.0 || ^3.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { @@ -6128,36 +6584,37 @@ ], "support": { "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.1.1" }, - "time": "2020-07-09T08:09:16+00:00" + "time": "2025-04-30T06:54:44+00:00" }, { "name": "kitloong/laravel-migrations-generator", - "version": "v7.0.6", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/kitloong/laravel-migrations-generator.git", - "reference": "3d036e3030928f904c833a8e004fd4914f301236" + "reference": "e46bdbe9308c211fd896cdc834b28d6b9f0dce3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kitloong/laravel-migrations-generator/zipball/3d036e3030928f904c833a8e004fd4914f301236", - "reference": "3d036e3030928f904c833a8e004fd4914f301236", + "url": "https://api.github.com/repos/kitloong/laravel-migrations-generator/zipball/e46bdbe9308c211fd896cdc834b28d6b9f0dce3f", + "reference": "e46bdbe9308c211fd896cdc834b28d6b9f0dce3f", "shasum": "" }, "require": { "ext-pdo": "*", - "illuminate/support": "^10.43|^11.0", - "php": "^8.1" + "illuminate/support": "^11.0|^12.0", + "php": "^8.2" }, "require-dev": { - "barryvdh/laravel-ide-helper": "^2.0|^3.0", + "barryvdh/laravel-ide-helper": "^3.0", "friendsofphp/php-cs-fixer": "^3.1", - "larastan/larastan": "^1.0|^2.0", + "larastan/larastan": "^2.0|^3.0", "mockery/mockery": "^1.0", - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^9.0|^10.0", "phpmd/phpmd": "^2.10", + "phpstan/phpstan-mockery": "^1.0|^2.0", "slevomat/coding-standard": "^8.0", "squizlabs/php_codesniffer": "^3.5" }, @@ -6195,7 +6652,7 @@ ], "support": { "issues": "https://github.com/kitloong/laravel-migrations-generator/issues", - "source": "https://github.com/kitloong/laravel-migrations-generator/tree/v7.0.6" + "source": "https://github.com/kitloong/laravel-migrations-generator/tree/v7.1.2" }, "funding": [ { @@ -6207,20 +6664,20 @@ "type": "github" } ], - "time": "2024-11-03T12:05:10+00:00" + "time": "2025-02-27T12:06:46+00:00" }, { "name": "laravel/pint", - "version": "v1.18.3", + "version": "v1.22.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "cef51821608239040ab841ad6e1c6ae502ae3026" + "reference": "941d1927c5ca420c22710e98420287169c7bcaf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/cef51821608239040ab841ad6e1c6ae502ae3026", - "reference": "cef51821608239040ab841ad6e1c6ae502ae3026", + "url": "https://api.github.com/repos/laravel/pint/zipball/941d1927c5ca420c22710e98420287169c7bcaf7", + "reference": "941d1927c5ca420c22710e98420287169c7bcaf7", "shasum": "" }, "require": { @@ -6228,15 +6685,15 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.1.0" + "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.65.0", - "illuminate/view": "^10.48.24", - "larastan/larastan": "^2.9.11", - "laravel-zero/framework": "^10.4.0", + "friendsofphp/php-cs-fixer": "^3.75.0", + "illuminate/view": "^11.44.7", + "larastan/larastan": "^3.4.0", + "laravel-zero/framework": "^11.36.1", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^1.17.0", + "nunomaduro/termwind": "^2.3.1", "pestphp/pest": "^2.36.0" }, "bin": [ @@ -6273,32 +6730,32 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-11-26T15:34:00+00:00" + "time": "2025-05-08T08:38:12+00:00" }, { "name": "laravel/sail", - "version": "v1.39.1", + "version": "v1.43.1", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "1a3c7291bc88de983b66688919a4d298d68ddec7" + "reference": "3e7d899232a8c5e3ea4fc6dee7525ad583887e72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/1a3c7291bc88de983b66688919a4d298d68ddec7", - "reference": "1a3c7291bc88de983b66688919a4d298d68ddec7", + "url": "https://api.github.com/repos/laravel/sail/zipball/3e7d899232a8c5e3ea4fc6dee7525ad583887e72", + "reference": "3e7d899232a8c5e3ea4fc6dee7525ad583887e72", "shasum": "" }, "require": { - "illuminate/console": "^9.52.16|^10.0|^11.0", - "illuminate/contracts": "^9.52.16|^10.0|^11.0", - "illuminate/support": "^9.52.16|^10.0|^11.0", + "illuminate/console": "^9.52.16|^10.0|^11.0|^12.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0|^12.0", + "illuminate/support": "^9.52.16|^10.0|^11.0|^12.0", "php": "^8.0", "symfony/console": "^6.0|^7.0", "symfony/yaml": "^6.0|^7.0" }, "require-dev": { - "orchestra/testbench": "^7.0|^8.0|^9.0", + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", "phpstan/phpstan": "^1.10" }, "bin": [ @@ -6336,7 +6793,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2024-11-27T15:42:28+00:00" + "time": "2025-05-19T13:19:21+00:00" }, { "name": "mockery/mockery", @@ -6423,16 +6880,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.1", + "version": "1.13.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/1720ddd719e16cf0db4eb1c6eca108031636d46c", + "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c", "shasum": "" }, "require": { @@ -6471,7 +6928,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.1" }, "funding": [ { @@ -6479,7 +6936,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T17:47:46+00:00" + "time": "2025-04-29T12:36:36+00:00" }, { "name": "nunomaduro/collision", @@ -7019,16 +7476,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.38", + "version": "10.5.46", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a86773b9e887a67bc53efa9da9ad6e3f2498c132" + "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a86773b9e887a67bc53efa9da9ad6e3f2498c132", - "reference": "a86773b9e887a67bc53efa9da9ad6e3f2498c132", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8080be387a5be380dda48c6f41cee4a13aadab3d", + "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d", "shasum": "" }, "require": { @@ -7038,7 +7495,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.13.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.1", @@ -7100,7 +7557,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.38" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.46" }, "funding": [ { @@ -7111,12 +7568,20 @@ "url": "https://github.com/sebastianbergmann", "type": "github" }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, { "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", "type": "tidelift" } ], - "time": "2024-10-28T13:06:21+00:00" + "time": "2025-05-02T06:46:24+00:00" }, { "name": "sebastian/cli-parser", @@ -8036,16 +8501,16 @@ }, { "name": "spatie/backtrace", - "version": "1.7.1", + "version": "1.7.4", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "0f2477c520e3729de58e061b8192f161c99f770b" + "reference": "cd37a49fce7137359ac30ecc44ef3e16404cccbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/0f2477c520e3729de58e061b8192f161c99f770b", - "reference": "0f2477c520e3729de58e061b8192f161c99f770b", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/cd37a49fce7137359ac30ecc44ef3e16404cccbe", + "reference": "cd37a49fce7137359ac30ecc44ef3e16404cccbe", "shasum": "" }, "require": { @@ -8083,7 +8548,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.7.1" + "source": "https://github.com/spatie/backtrace/tree/1.7.4" }, "funding": [ { @@ -8095,34 +8560,34 @@ "type": "other" } ], - "time": "2024-12-02T13:28:15+00:00" + "time": "2025-05-08T15:41:09+00:00" }, { "name": "spatie/error-solutions", - "version": "1.1.1", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/spatie/error-solutions.git", - "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67" + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/error-solutions/zipball/ae7393122eda72eed7cc4f176d1e96ea444f2d67", - "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "illuminate/broadcasting": "^10.0|^11.0", - "illuminate/cache": "^10.0|^11.0", - "illuminate/support": "^10.0|^11.0", - "livewire/livewire": "^2.11|^3.3.5", + "illuminate/broadcasting": "^10.0|^11.0|^12.0", + "illuminate/cache": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "livewire/livewire": "^2.11|^3.5.20", "openai-php/client": "^0.10.1", - "orchestra/testbench": "^7.0|8.22.3|^9.0", - "pestphp/pest": "^2.20", - "phpstan/phpstan": "^1.11", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.20|^3.0", + "phpstan/phpstan": "^2.1", "psr/simple-cache": "^3.0", "psr/simple-cache-implementation": "^3.0", "spatie/ray": "^1.28", @@ -8161,7 +8626,7 @@ ], "support": { "issues": "https://github.com/spatie/error-solutions/issues", - "source": "https://github.com/spatie/error-solutions/tree/1.1.1" + "source": "https://github.com/spatie/error-solutions/tree/1.1.3" }, "funding": [ { @@ -8169,24 +8634,24 @@ "type": "github" } ], - "time": "2024-07-25T11:06:04+00:00" + "time": "2025-02-14T12:29:50+00:00" }, { "name": "spatie/flare-client-php", - "version": "1.10.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "140a42b2c5d59ac4ecf8f5b493386a4f2eb28272" + "reference": "bf1716eb98bd689451b071548ae9e70738dce62f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/140a42b2c5d59ac4ecf8f5b493386a4f2eb28272", - "reference": "140a42b2c5d59ac4ecf8f5b493386a4f2eb28272", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/bf1716eb98bd689451b071548ae9e70738dce62f", + "reference": "bf1716eb98bd689451b071548ae9e70738dce62f", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0|^12.0", "php": "^8.0", "spatie/backtrace": "^1.6.1", "symfony/http-foundation": "^5.2|^6.0|^7.0", @@ -8230,7 +8695,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.10.0" + "source": "https://github.com/spatie/flare-client-php/tree/1.10.1" }, "funding": [ { @@ -8238,20 +8703,20 @@ "type": "github" } ], - "time": "2024-12-02T14:30:06+00:00" + "time": "2025-02-14T13:42:06+00:00" }, { "name": "spatie/ignition", - "version": "1.15.0", + "version": "1.15.1", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" + "reference": "31f314153020aee5af3537e507fef892ffbf8c85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", - "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "url": "https://api.github.com/repos/spatie/ignition/zipball/31f314153020aee5af3537e507fef892ffbf8c85", + "reference": "31f314153020aee5af3537e507fef892ffbf8c85", "shasum": "" }, "require": { @@ -8264,7 +8729,7 @@ "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "require-dev": { - "illuminate/cache": "^9.52|^10.0|^11.0", + "illuminate/cache": "^9.52|^10.0|^11.0|^12.0", "mockery/mockery": "^1.4", "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", @@ -8321,27 +8786,27 @@ "type": "github" } ], - "time": "2024-06-12T14:55:22+00:00" + "time": "2025-02-21T14:31:39+00:00" }, { "name": "spatie/laravel-ignition", - "version": "2.9.0", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "62042df15314b829d0f26e02108f559018e2aad0" + "reference": "1baee07216d6748ebd3a65ba97381b051838707a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/62042df15314b829d0f26e02108f559018e2aad0", - "reference": "62042df15314b829d0f26e02108f559018e2aad0", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1baee07216d6748ebd3a65ba97381b051838707a", + "reference": "1baee07216d6748ebd3a65ba97381b051838707a", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0|^12.0", "php": "^8.1", "spatie/ignition": "^1.15", "symfony/console": "^6.2.3|^7.0", @@ -8350,12 +8815,12 @@ "require-dev": { "livewire/livewire": "^2.11|^3.3.5", "mockery/mockery": "^1.5.1", - "openai-php/client": "^0.8.1", - "orchestra/testbench": "8.22.3|^9.0", - "pestphp/pest": "^2.34", + "openai-php/client": "^0.8.1|^0.10", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.34|^3.7", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan-deprecation-rules": "^1.1.1", - "phpstan/phpstan-phpunit": "^1.3.16", + "phpstan/phpstan-deprecation-rules": "^1.1.1|^2.0", + "phpstan/phpstan-phpunit": "^1.3.16|^2.0", "vlucas/phpdotenv": "^5.5" }, "suggest": { @@ -8412,20 +8877,20 @@ "type": "github" } ], - "time": "2024-12-02T08:43:31+00:00" + "time": "2025-02-20T13:13:55+00:00" }, { "name": "symfony/yaml", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "099581e99f557e9f16b43c5916c26380b54abb22" + "reference": "cea40a48279d58dc3efee8112634cb90141156c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/099581e99f557e9f16b43c5916c26380b54abb22", - "reference": "099581e99f557e9f16b43c5916c26380b54abb22", + "url": "https://api.github.com/repos/symfony/yaml/zipball/cea40a48279d58dc3efee8112634cb90141156c2", + "reference": "cea40a48279d58dc3efee8112634cb90141156c2", "shasum": "" }, "require": { @@ -8468,7 +8933,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.2.0" + "source": "https://github.com/symfony/yaml/tree/v7.3.0" }, "funding": [ { @@ -8484,7 +8949,7 @@ "type": "tidelift" } ], - "time": "2024-10-23T06:56:12+00:00" + "time": "2025-04-04T10:10:33+00:00" }, { "name": "theseer/tokenizer", @@ -8539,7 +9004,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { @@ -8547,6 +9012,6 @@ "ext-gd": "*", "ext-simplexml": "*" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/config/database.php b/config/database.php index ae5aea6..68506c7 100644 --- a/config/database.php +++ b/config/database.php @@ -15,7 +15,7 @@ return [ | */ - 'default' => env('DB_CONNECTION', 'website'), + 'default' => env('DB_CONNECTION', 'mariadb'), /* |-------------------------------------------------------------------------- @@ -35,55 +35,11 @@ return [ 'connections' => [ - 'website' => [ - 'driver' => 'mysql', + 'mariadb' => [ + 'driver' => 'mariadb', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), - 'database' => 'website', - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - ], - - 'account' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => 'account', - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - ], - - 'common' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => 'common', - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - ], - - 'log' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => 'log', - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - ], - - 'player' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => 'player', + 'database' => env('DB_DATABASE', 'metin2'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8mb4', diff --git a/database/data/land.json b/database/data/land.json index bea2741..7ecc79f 100644 --- a/database/data/land.json +++ b/database/data/land.json @@ -1,1946 +1,1946 @@ [ - { - "id": 1, - "map_index": 1, - "x": 20200, - "y": 10000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 2, - "map_index": 1, - "x": 23500, - "y": 13600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 3, - "map_index": 1, - "x": 27600, - "y": 10900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 4, - "map_index": 1, - "x": 55600, - "y": 9600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 5, - "map_index": 1, - "x": 57100, - "y": 3800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 6, - "map_index": 1, - "x": 60900, - "y": 5200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 7, - "map_index": 1, - "x": 66100, - "y": 7900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 8, - "map_index": 1, - "x": 81400, - "y": 16800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 9, - "map_index": 1, - "x": 90700, - "y": 20400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 10, - "map_index": 1, - "x": 94300, - "y": 23700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 11, - "map_index": 1, - "x": 10800, - "y": 108500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 12, - "map_index": 1, - "x": 5900, - "y": 108500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 13, - "map_index": 1, - "x": 7700, - "y": 104300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 14, - "map_index": 1, - "x": 23400, - "y": 46200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 15, - "map_index": 1, - "x": 17200, - "y": 44400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 16, - "map_index": 1, - "x": 20000, - "y": 40100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 17, - "map_index": 1, - "x": 25800, - "y": 36900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 18, - "map_index": 1, - "x": 16900, - "y": 35800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 101, - "map_index": 21, - "x": 29400, - "y": 11400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 102, - "map_index": 21, - "x": 33600, - "y": 12700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 103, - "map_index": 21, - "x": 36300, - "y": 16300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 104, - "map_index": 21, - "x": 55900, - "y": 17200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 105, - "map_index": 21, - "x": 72800, - "y": 8500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 106, - "map_index": 21, - "x": 76300, - "y": 5400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 107, - "map_index": 21, - "x": 77600, - "y": 10200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 108, - "map_index": 21, - "x": 84200, - "y": 47200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 109, - "map_index": 21, - "x": 87800, - "y": 61000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 110, - "map_index": 21, - "x": 32100, - "y": 113800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 111, - "map_index": 21, - "x": 28800, - "y": 117200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 112, - "map_index": 21, - "x": 24400, - "y": 118700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 113, - "map_index": 21, - "x": 22600, - "y": 114400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 114, - "map_index": 21, - "x": 34800, - "y": 92300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 115, - "map_index": 21, - "x": 37500, - "y": 89000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 116, - "map_index": 21, - "x": 35100, - "y": 73600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 117, - "map_index": 21, - "x": 35400, - "y": 69200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 118, - "map_index": 21, - "x": 35400, - "y": 55600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 201, - "map_index": 41, - "x": 66100, - "y": 9400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 202, - "map_index": 41, - "x": 70300, - "y": 7900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 203, - "map_index": 41, - "x": 73600, - "y": 11500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 204, - "map_index": 41, - "x": 70900, - "y": 15100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 45000000, - "enable": "YES" - }, - { - "id": 205, - "map_index": 41, - "x": 71800, - "y": 61900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 206, - "map_index": 41, - "x": 77000, - "y": 64100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 207, - "map_index": 41, - "x": 60700, - "y": 66800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 208, - "map_index": 41, - "x": 74500, - "y": 68200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 209, - "map_index": 41, - "x": 67900, - "y": 110800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 210, - "map_index": 41, - "x": 67900, - "y": 115700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 211, - "map_index": 41, - "x": 62800, - "y": 114800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 212, - "map_index": 41, - "x": 16600, - "y": 95300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 213, - "map_index": 41, - "x": 5400, - "y": 94100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 214, - "map_index": 41, - "x": 18600, - "y": 89300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 215, - "map_index": 41, - "x": 4600, - "y": 89800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 216, - "map_index": 41, - "x": 11200, - "y": 36000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 217, - "map_index": 41, - "x": 8200, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 218, - "map_index": 41, - "x": 12000, - "y": 29200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 75, - "map_index": 4, - "x": 9600, - "y": 13100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 76, - "map_index": 4, - "x": 16100, - "y": 15600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 77, - "map_index": 4, - "x": 9100, - "y": 19500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 78, - "map_index": 4, - "x": 14900, - "y": 19500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 79, - "map_index": 4, - "x": 27700, - "y": 19500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 80, - "map_index": 4, - "x": 23600, - "y": 23000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 81, - "map_index": 4, - "x": 31800, - "y": 24200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 82, - "map_index": 4, - "x": 27900, - "y": 27300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 83, - "map_index": 4, - "x": 35500, - "y": 35400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 84, - "map_index": 4, - "x": 32800, - "y": 39300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 85, - "map_index": 4, - "x": 39700, - "y": 39600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 86, - "map_index": 4, - "x": 36100, - "y": 42700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 87, - "map_index": 4, - "x": 24400, - "y": 39000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 88, - "map_index": 4, - "x": 19900, - "y": 41600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 89, - "map_index": 4, - "x": 14400, - "y": 41700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 90, - "map_index": 4, - "x": 10200, - "y": 39100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 91, - "map_index": 4, - "x": 7700, - "y": 34600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 92, - "map_index": 4, - "x": 8400, - "y": 29500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 175, - "map_index": 24, - "x": 7100, - "y": 5200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 176, - "map_index": 24, - "x": 12800, - "y": 4800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 177, - "map_index": 24, - "x": 9700, - "y": 9900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 178, - "map_index": 24, - "x": 14500, - "y": 13300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 179, - "map_index": 24, - "x": 36900, - "y": 26000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 180, - "map_index": 24, - "x": 38600, - "y": 29800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 181, - "map_index": 24, - "x": 36500, - "y": 33900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 182, - "map_index": 24, - "x": 33600, - "y": 38600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 183, - "map_index": 24, - "x": 30900, - "y": 33500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 184, - "map_index": 24, - "x": 25700, - "y": 33500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 185, - "map_index": 24, - "x": 25600, - "y": 37800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 186, - "map_index": 24, - "x": 20900, - "y": 37800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 187, - "map_index": 24, - "x": 20900, - "y": 33700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 188, - "map_index": 24, - "x": 14200, - "y": 33700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 189, - "map_index": 24, - "x": 10000, - "y": 37100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 190, - "map_index": 24, - "x": 5800, - "y": 34800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 191, - "map_index": 24, - "x": 8800, - "y": 29800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 192, - "map_index": 24, - "x": 10500, - "y": 26100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 275, - "map_index": 44, - "x": 5400, - "y": 7700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 276, - "map_index": 44, - "x": 9700, - "y": 7300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 277, - "map_index": 44, - "x": 5500, - "y": 11500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 278, - "map_index": 44, - "x": 5100, - "y": 15500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 279, - "map_index": 44, - "x": 8900, - "y": 17900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 40000000, - "enable": "YES" - }, - { - "id": 280, - "map_index": 44, - "x": 22200, - "y": 15600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 281, - "map_index": 44, - "x": 43000, - "y": 3700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 282, - "map_index": 44, - "x": 38900, - "y": 27200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 283, - "map_index": 44, - "x": 30200, - "y": 29900, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 284, - "map_index": 44, - "x": 40000, - "y": 34500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 285, - "map_index": 44, - "x": 32800, - "y": 37000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 286, - "map_index": 44, - "x": 40600, - "y": 39300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 287, - "map_index": 44, - "x": 35600, - "y": 40600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 50000000, - "enable": "YES" - }, - { - "id": 288, - "map_index": 44, - "x": 18500, - "y": 33600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 289, - "map_index": 44, - "x": 17300, - "y": 38500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 290, - "map_index": 44, - "x": 13500, - "y": 39400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 70000000, - "enable": "YES" - }, - { - "id": 291, - "map_index": 44, - "x": 9100, - "y": 38700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 292, - "map_index": 44, - "x": 5000, - "y": 36300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 293, - "map_index": 6, - "x": 25700, - "y": 9100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 294, - "map_index": 6, - "x": 31000, - "y": 9400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 295, - "map_index": 6, - "x": 36900, - "y": 9500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 296, - "map_index": 6, - "x": 35300, - "y": 14300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 297, - "map_index": 6, - "x": 35700, - "y": 24600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 298, - "map_index": 6, - "x": 38500, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 299, - "map_index": 6, - "x": 32600, - "y": 31200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 300, - "map_index": 6, - "x": 28500, - "y": 36500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 301, - "map_index": 6, - "x": 15500, - "y": 38000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 302, - "map_index": 6, - "x": 15000, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 303, - "map_index": 6, - "x": 10200, - "y": 36700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 304, - "map_index": 6, - "x": 9200, - "y": 27500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 305, - "map_index": 6, - "x": 11200, - "y": 19200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 306, - "map_index": 6, - "x": 8500, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 307, - "map_index": 6, - "x": 10700, - "y": 10000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 308, - "map_index": 6, - "x": 15200, - "y": 10100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 309, - "map_index": 6, - "x": 18300, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 310, - "map_index": 26, - "x": 25700, - "y": 9100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 311, - "map_index": 26, - "x": 31000, - "y": 9400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 312, - "map_index": 26, - "x": 36900, - "y": 9500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 313, - "map_index": 26, - "x": 35300, - "y": 14300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 314, - "map_index": 26, - "x": 35700, - "y": 24600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 315, - "map_index": 26, - "x": 38500, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 316, - "map_index": 26, - "x": 32600, - "y": 31200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 317, - "map_index": 26, - "x": 28500, - "y": 36500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 318, - "map_index": 26, - "x": 15500, - "y": 38000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 319, - "map_index": 26, - "x": 15000, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 320, - "map_index": 26, - "x": 10200, - "y": 36700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 321, - "map_index": 26, - "x": 9200, - "y": 27500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 322, - "map_index": 26, - "x": 11200, - "y": 19200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 323, - "map_index": 26, - "x": 8500, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 324, - "map_index": 26, - "x": 10700, - "y": 10000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 325, - "map_index": 26, - "x": 15200, - "y": 10100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 326, - "map_index": 26, - "x": 18300, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 327, - "map_index": 46, - "x": 25700, - "y": 9100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 328, - "map_index": 46, - "x": 31000, - "y": 9400, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 329, - "map_index": 46, - "x": 36900, - "y": 9500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 330, - "map_index": 46, - "x": 35300, - "y": 14300, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 331, - "map_index": 46, - "x": 35700, - "y": 24600, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 332, - "map_index": 46, - "x": 38500, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 333, - "map_index": 46, - "x": 32600, - "y": 31200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 334, - "map_index": 46, - "x": 28500, - "y": 36500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 335, - "map_index": 46, - "x": 15500, - "y": 38000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 336, - "map_index": 46, - "x": 15000, - "y": 31800, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 337, - "map_index": 46, - "x": 10200, - "y": 36700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 338, - "map_index": 46, - "x": 9200, - "y": 27500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 339, - "map_index": 46, - "x": 11200, - "y": 19200, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 340, - "map_index": 46, - "x": 8500, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 341, - "map_index": 46, - "x": 10700, - "y": 10000, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 342, - "map_index": 46, - "x": 15200, - "y": 10100, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 343, - "map_index": 46, - "x": 18300, - "y": 14700, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 344, - "map_index": 6, - "x": 35500, - "y": 38500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 345, - "map_index": 26, - "x": 35500, - "y": 38500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - }, - { - "id": 346, - "map_index": 46, - "x": 35500, - "y": 38500, - "width": 3000, - "height": 3000, - "guild_id": 0, - "guild_level_limit": 10, - "price": 65000000, - "enable": "YES" - } -] \ No newline at end of file + { + "id": 1, + "map_index": 1, + "x": 20200, + "y": 10000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 2, + "map_index": 1, + "x": 23500, + "y": 13600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 3, + "map_index": 1, + "x": 27600, + "y": 10900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 4, + "map_index": 1, + "x": 55600, + "y": 9600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 5, + "map_index": 1, + "x": 57100, + "y": 3800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 6, + "map_index": 1, + "x": 60900, + "y": 5200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 7, + "map_index": 1, + "x": 66100, + "y": 7900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 8, + "map_index": 1, + "x": 81400, + "y": 16800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 9, + "map_index": 1, + "x": 90700, + "y": 20400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 10, + "map_index": 1, + "x": 94300, + "y": 23700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 11, + "map_index": 1, + "x": 10800, + "y": 108500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 12, + "map_index": 1, + "x": 5900, + "y": 108500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 13, + "map_index": 1, + "x": 7700, + "y": 104300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 14, + "map_index": 1, + "x": 23400, + "y": 46200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 15, + "map_index": 1, + "x": 17200, + "y": 44400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 16, + "map_index": 1, + "x": 20000, + "y": 40100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 17, + "map_index": 1, + "x": 25800, + "y": 36900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 18, + "map_index": 1, + "x": 16900, + "y": 35800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 101, + "map_index": 21, + "x": 29400, + "y": 11400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 102, + "map_index": 21, + "x": 33600, + "y": 12700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 103, + "map_index": 21, + "x": 36300, + "y": 16300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 104, + "map_index": 21, + "x": 55900, + "y": 17200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 105, + "map_index": 21, + "x": 72800, + "y": 8500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 106, + "map_index": 21, + "x": 76300, + "y": 5400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 107, + "map_index": 21, + "x": 77600, + "y": 10200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 108, + "map_index": 21, + "x": 84200, + "y": 47200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 109, + "map_index": 21, + "x": 87800, + "y": 61000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 110, + "map_index": 21, + "x": 32100, + "y": 113800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 111, + "map_index": 21, + "x": 28800, + "y": 117200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 112, + "map_index": 21, + "x": 24400, + "y": 118700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 113, + "map_index": 21, + "x": 22600, + "y": 114400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 114, + "map_index": 21, + "x": 34800, + "y": 92300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 115, + "map_index": 21, + "x": 37500, + "y": 89000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 116, + "map_index": 21, + "x": 35100, + "y": 73600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 117, + "map_index": 21, + "x": 35400, + "y": 69200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 118, + "map_index": 21, + "x": 35400, + "y": 55600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 201, + "map_index": 41, + "x": 66100, + "y": 9400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 202, + "map_index": 41, + "x": 70300, + "y": 7900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 203, + "map_index": 41, + "x": 73600, + "y": 11500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 204, + "map_index": 41, + "x": 70900, + "y": 15100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 45000000, + "enable": "YES" + }, + { + "id": 205, + "map_index": 41, + "x": 71800, + "y": 61900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 206, + "map_index": 41, + "x": 77000, + "y": 64100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 207, + "map_index": 41, + "x": 60700, + "y": 66800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 208, + "map_index": 41, + "x": 74500, + "y": 68200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 209, + "map_index": 41, + "x": 67900, + "y": 110800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 210, + "map_index": 41, + "x": 67900, + "y": 115700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 211, + "map_index": 41, + "x": 62800, + "y": 114800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 212, + "map_index": 41, + "x": 16600, + "y": 95300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 213, + "map_index": 41, + "x": 5400, + "y": 94100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 214, + "map_index": 41, + "x": 18600, + "y": 89300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 215, + "map_index": 41, + "x": 4600, + "y": 89800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 216, + "map_index": 41, + "x": 11200, + "y": 36000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 217, + "map_index": 41, + "x": 8200, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 218, + "map_index": 41, + "x": 12000, + "y": 29200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 75, + "map_index": 4, + "x": 9600, + "y": 13100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 76, + "map_index": 4, + "x": 16100, + "y": 15600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 77, + "map_index": 4, + "x": 9100, + "y": 19500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 78, + "map_index": 4, + "x": 14900, + "y": 19500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 79, + "map_index": 4, + "x": 27700, + "y": 19500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 80, + "map_index": 4, + "x": 23600, + "y": 23000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 81, + "map_index": 4, + "x": 31800, + "y": 24200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 82, + "map_index": 4, + "x": 27900, + "y": 27300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 83, + "map_index": 4, + "x": 35500, + "y": 35400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 84, + "map_index": 4, + "x": 32800, + "y": 39300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 85, + "map_index": 4, + "x": 39700, + "y": 39600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 86, + "map_index": 4, + "x": 36100, + "y": 42700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 87, + "map_index": 4, + "x": 24400, + "y": 39000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 88, + "map_index": 4, + "x": 19900, + "y": 41600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 89, + "map_index": 4, + "x": 14400, + "y": 41700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 90, + "map_index": 4, + "x": 10200, + "y": 39100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 91, + "map_index": 4, + "x": 7700, + "y": 34600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 92, + "map_index": 4, + "x": 8400, + "y": 29500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 175, + "map_index": 24, + "x": 7100, + "y": 5200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 176, + "map_index": 24, + "x": 12800, + "y": 4800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 177, + "map_index": 24, + "x": 9700, + "y": 9900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 178, + "map_index": 24, + "x": 14500, + "y": 13300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 179, + "map_index": 24, + "x": 36900, + "y": 26000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 180, + "map_index": 24, + "x": 38600, + "y": 29800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 181, + "map_index": 24, + "x": 36500, + "y": 33900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 182, + "map_index": 24, + "x": 33600, + "y": 38600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 183, + "map_index": 24, + "x": 30900, + "y": 33500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 184, + "map_index": 24, + "x": 25700, + "y": 33500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 185, + "map_index": 24, + "x": 25600, + "y": 37800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 186, + "map_index": 24, + "x": 20900, + "y": 37800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 187, + "map_index": 24, + "x": 20900, + "y": 33700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 188, + "map_index": 24, + "x": 14200, + "y": 33700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 189, + "map_index": 24, + "x": 10000, + "y": 37100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 190, + "map_index": 24, + "x": 5800, + "y": 34800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 191, + "map_index": 24, + "x": 8800, + "y": 29800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 192, + "map_index": 24, + "x": 10500, + "y": 26100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 275, + "map_index": 44, + "x": 5400, + "y": 7700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 276, + "map_index": 44, + "x": 9700, + "y": 7300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 277, + "map_index": 44, + "x": 5500, + "y": 11500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 278, + "map_index": 44, + "x": 5100, + "y": 15500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 279, + "map_index": 44, + "x": 8900, + "y": 17900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 40000000, + "enable": "YES" + }, + { + "id": 280, + "map_index": 44, + "x": 22200, + "y": 15600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 281, + "map_index": 44, + "x": 43000, + "y": 3700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 282, + "map_index": 44, + "x": 38900, + "y": 27200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 283, + "map_index": 44, + "x": 30200, + "y": 29900, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 284, + "map_index": 44, + "x": 40000, + "y": 34500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 285, + "map_index": 44, + "x": 32800, + "y": 37000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 286, + "map_index": 44, + "x": 40600, + "y": 39300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 287, + "map_index": 44, + "x": 35600, + "y": 40600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 50000000, + "enable": "YES" + }, + { + "id": 288, + "map_index": 44, + "x": 18500, + "y": 33600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 289, + "map_index": 44, + "x": 17300, + "y": 38500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 290, + "map_index": 44, + "x": 13500, + "y": 39400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 70000000, + "enable": "YES" + }, + { + "id": 291, + "map_index": 44, + "x": 9100, + "y": 38700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 292, + "map_index": 44, + "x": 5000, + "y": 36300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 293, + "map_index": 6, + "x": 25700, + "y": 9100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 294, + "map_index": 6, + "x": 31000, + "y": 9400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 295, + "map_index": 6, + "x": 36900, + "y": 9500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 296, + "map_index": 6, + "x": 35300, + "y": 14300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 297, + "map_index": 6, + "x": 35700, + "y": 24600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 298, + "map_index": 6, + "x": 38500, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 299, + "map_index": 6, + "x": 32600, + "y": 31200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 300, + "map_index": 6, + "x": 28500, + "y": 36500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 301, + "map_index": 6, + "x": 15500, + "y": 38000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 302, + "map_index": 6, + "x": 15000, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 303, + "map_index": 6, + "x": 10200, + "y": 36700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 304, + "map_index": 6, + "x": 9200, + "y": 27500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 305, + "map_index": 6, + "x": 11200, + "y": 19200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 306, + "map_index": 6, + "x": 8500, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 307, + "map_index": 6, + "x": 10700, + "y": 10000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 308, + "map_index": 6, + "x": 15200, + "y": 10100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 309, + "map_index": 6, + "x": 18300, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 310, + "map_index": 26, + "x": 25700, + "y": 9100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 311, + "map_index": 26, + "x": 31000, + "y": 9400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 312, + "map_index": 26, + "x": 36900, + "y": 9500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 313, + "map_index": 26, + "x": 35300, + "y": 14300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 314, + "map_index": 26, + "x": 35700, + "y": 24600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 315, + "map_index": 26, + "x": 38500, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 316, + "map_index": 26, + "x": 32600, + "y": 31200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 317, + "map_index": 26, + "x": 28500, + "y": 36500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 318, + "map_index": 26, + "x": 15500, + "y": 38000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 319, + "map_index": 26, + "x": 15000, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 320, + "map_index": 26, + "x": 10200, + "y": 36700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 321, + "map_index": 26, + "x": 9200, + "y": 27500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 322, + "map_index": 26, + "x": 11200, + "y": 19200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 323, + "map_index": 26, + "x": 8500, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 324, + "map_index": 26, + "x": 10700, + "y": 10000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 325, + "map_index": 26, + "x": 15200, + "y": 10100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 326, + "map_index": 26, + "x": 18300, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 327, + "map_index": 46, + "x": 25700, + "y": 9100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 328, + "map_index": 46, + "x": 31000, + "y": 9400, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 329, + "map_index": 46, + "x": 36900, + "y": 9500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 330, + "map_index": 46, + "x": 35300, + "y": 14300, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 331, + "map_index": 46, + "x": 35700, + "y": 24600, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 332, + "map_index": 46, + "x": 38500, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 333, + "map_index": 46, + "x": 32600, + "y": 31200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 334, + "map_index": 46, + "x": 28500, + "y": 36500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 335, + "map_index": 46, + "x": 15500, + "y": 38000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 336, + "map_index": 46, + "x": 15000, + "y": 31800, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 337, + "map_index": 46, + "x": 10200, + "y": 36700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 338, + "map_index": 46, + "x": 9200, + "y": 27500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 339, + "map_index": 46, + "x": 11200, + "y": 19200, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 340, + "map_index": 46, + "x": 8500, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 341, + "map_index": 46, + "x": 10700, + "y": 10000, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 342, + "map_index": 46, + "x": 15200, + "y": 10100, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 343, + "map_index": 46, + "x": 18300, + "y": 14700, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 344, + "map_index": 6, + "x": 35500, + "y": 38500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 345, + "map_index": 26, + "x": 35500, + "y": 38500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + }, + { + "id": 346, + "map_index": 46, + "x": 35500, + "y": 38500, + "width": 3000, + "height": 3000, + "guild_id": null, + "guild_level_limit": 10, + "price": 65000000, + "enable": "YES" + } +] diff --git a/database/data/mall_items.json b/database/data/mall_items.json index bbe0151..267905c 100644 --- a/database/data/mall_items.json +++ b/database/data/mall_items.json @@ -1,1118 +1,1118 @@ [ - { - "id": 1, - "vnum": 39018, - "category_id": 1, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71028", - "description": "Increases the damage you cause during a fight by 12-15% for 30 minutes. This item is tradeable.", - "other": "recommend_desc" - }, - { - "id": 2, - "vnum": 39019, - "category_id": 1, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 1, - "image": "71029", - "description": "Increases your maximum SP by 20% for 30 minutes. This item is tradeable.", - "other": "recommend_desc" - }, - { - "id": 3, - "vnum": 39017, - "category_id": 1, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "71027", - "description": "Increases your maximum HP by 20% for 30 minutes. This item is tradeable.", - "other": "recommend" - }, - { - "id": 4, - "vnum": 39020, - "category_id": 1, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71030", - "description": "Lowers the damage you receive during a fight by 12-15% for 30 minutes. This item is tradeable.", - "other": "recommend" - }, - { - "id": 13, - "vnum": 72018, - "category_id": 1, - "old_price": null, - "price": 24, - "pricing": "CASH", - "quantity": 1, - "image": "70002", - "description": "15 zile, probabil pe cont", - "other": null - }, - { - "id": 14, - "vnum": 72019, - "category_id": 1, - "old_price": null, - "price": 24, - "pricing": "CASH", - "quantity": 1, - "image": "71009", - "description": "15 zile, probabil pe cont", - "other": null - }, - { - "id": 15, - "vnum": 72006, - "category_id": 1, - "old_price": null, - "price": 51, - "pricing": "CASH", - "quantity": 1, - "image": "70043", - "description": "15 zile, probabil pe cont", - "other": null - }, - { - "id": 16, - "vnum": 72003, - "category_id": 1, - "old_price": null, - "price": 114, - "pricing": "CASH", - "quantity": 1, - "image": "70005", - "description": "15 zile, probabil pe cont", - "other": null - }, - { - "id": 19, - "vnum": 30319, - "category_id": 11, - "old_price": null, - "price": 189, - "pricing": "CASH", - "quantity": 25, - "image": "30319", - "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", - "other": null - }, - { - "id": 20, - "vnum": 30319, - "category_id": 11, - "old_price": null, - "price": 45, - "pricing": "CASH", - "quantity": 5, - "image": "30319", - "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", - "other": null - }, - { - "id": 80, - "vnum": 71070, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71070", - "description": "Increases the collection of experience points during battle for both spouses by a maximum of 20% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 74, - "vnum": 52701, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Lion", - "other": "recommend" - }, - { - "id": 75, - "vnum": 52702, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Tiger", - "other": "" - }, - { - "id": 76, - "vnum": 52703, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Wild Boar", - "other": "recommend" - }, - { - "id": 77, - "vnum": 52704, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Wolf", - "other": "" - }, - { - "id": 78, - "vnum": 52705, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Reindeer (m)", - "other": "" - }, - { - "id": 79, - "vnum": 52706, - "category_id": 5, - "old_price": 99, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "52701", - "description": "Ownership Certificate for a Young Reindeer (f)", - "other": "" - }, - { - "id": 81, - "vnum": 71072, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71072", - "description": "Reduces the attack power of enemy monsters on both spouses by a maximum of 15% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 21, - "vnum": 71001, - "category_id": 2, - "old_price": null, - "price": 19, - "pricing": "CASH", - "quantity": 1, - "image": "71001", - "description": "Will lift the curse of the evil spirit, if learning is not successful. With the help of this scroll you can read another document on the same day.", - "other": null - }, - { - "id": 22, - "vnum": 71003, - "category_id": 2, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "71003", - "description": "You can redistribute your skill points. This means your character development can be lead into a different direction. (Note: Possible loss of points.)", - "other": null - }, - { - "id": 23, - "vnum": 71002, - "category_id": 2, - "old_price": null, - "price": 79, - "pricing": "CASH", - "quantity": 1, - "image": "71002", - "description": "The application of this item makes it possible for you to redistribute your status points, so that you can develop your character in another direction.", - "other": null - }, - { - "id": 24, - "vnum": 71054, - "category_id": 2, - "old_price": null, - "price": 111, - "pricing": "CASH", - "quantity": 1, - "image": "71054", - "description": "A character is able to go into exile in another kingdom, this means changing the kingdom.", - "other": null - }, - { - "id": 25, - "vnum": 71048, - "category_id": 2, - "old_price": null, - "price": 199, - "pricing": "CASH", - "quantity": 1, - "image": "71048", - "description": "This charm can change the gender of your character.", - "other": null - }, - { - "id": 26, - "vnum": 71099, - "category_id": 2, - "old_price": null, - "price": 95, - "pricing": "CASH", - "quantity": 1, - "image": "80009", - "description": "Allows the leader of a guild to set up a successor.", - "other": null - }, - { - "id": 27, - "vnum": 71103, - "category_id": 2, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71103", - "description": "Puts your vitality back to 1 and allows you to redistribute your points.", - "other": null - }, - { - "id": 28, - "vnum": 71104, - "category_id": 2, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71104", - "description": "Puts your intelligence back to 1 and allows you to redistribute your points.", - "other": null - }, - { - "id": 29, - "vnum": 71105, - "category_id": 2, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71105", - "description": "Puts your strength back to 1 and allows you to redistribute your points.", - "other": null - }, - { - "id": 30, - "vnum": 71106, - "category_id": 2, - "old_price": null, - "price": 39, - "pricing": "CASH", - "quantity": 1, - "image": "71106", - "description": "Resets your dexterity back to 1 and allows you to redistribute your points.", - "other": null - }, - { - "id": 31, - "vnum": 71107, - "category_id": 2, - "old_price": null, - "price": 129, - "pricing": "CASH", - "quantity": 1, - "image": "71107", - "description": "Increases rank points by 2000 (cooldown time: 8 hours).", - "other": null - }, - { - "id": 32, - "vnum": 72029, - "category_id": 3, - "old_price": null, - "price": 26, - "pricing": "CASH", - "quantity": 1, - "image": "71011", - "description": "You can let your emotions run free for 15 days.", - "other": null - }, - { - "id": 33, - "vnum": 72030, - "category_id": 3, - "old_price": null, - "price": 48, - "pricing": "CASH", - "quantity": 1, - "image": "71011", - "description": "You can let your emotions run free for 30 days.", - "other": null - }, - { - "id": 34, - "vnum": 71049, - "category_id": 3, - "old_price": null, - "price": 9, - "pricing": "CASH", - "quantity": 1, - "image": "71049", - "description": "With this bundle you can open a private shop for 10 days free of charge.", - "other": null - }, - { - "id": 35, - "vnum": 39043, - "category_id": 3, - "old_price": null, - "price": 2, - "pricing": "CASH", - "quantity": 1, - "image": "22000", - "description": "The scroll enables your return to the location you last marked. This item is tradeable.", - "other": null - }, - { - "id": 36, - "vnum": 71005, - "category_id": 3, - "old_price": null, - "price": 15, - "pricing": "CASH", - "quantity": 1, - "image": "70006", - "description": "You can understand all kingdom languages for 7 days.", - "other": null - }, - { - "id": 37, - "vnum": 71006, - "category_id": 3, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 1, - "image": "70006", - "description": "You can understand all kingdom languages for 15 days.", - "other": null - }, - { - "id": 38, - "vnum": 71007, - "category_id": 3, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "70006", - "description": "You can understand all kingdom languages for 30 days.", - "other": null - }, - { - "id": 39, - "vnum": 71113, - "category_id": 3, - "old_price": null, - "price": 9, - "pricing": "CASH", - "quantity": 10, - "image": "71113", - "description": "Allows you to show another player items from your inventory. The glass breaks in the process.", - "other": null - }, - { - "id": 40, - "vnum": 30319, - "category_id": 5, - "old_price": null, - "price": 12, - "pricing": "CASH", - "quantity": 1, - "image": "30319", - "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", - "other": null - }, - { - "id": 41, - "vnum": 30320, - "category_id": 5, - "old_price": null, - "price": 10, - "pricing": "CASH", - "quantity": 1, - "image": "30320", - "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb.", - "other": null - }, - { - "id": 42, - "vnum": 39006, - "category_id": 5, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 50, - "image": "70038", - "description": "Ancient Warriors showed off their bravery by wearing a colourful cape with which they attracted the attention of monsters. Not tradeable.", - "other": null - }, - { - "id": 43, - "vnum": 38100, - "category_id": 5, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 1, - "image": "50709", - "description": "Increases the lifespan of your Power Mount by 7 days.", - "other": null - }, - { - "id": 44, - "vnum": 38101, - "category_id": 5, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 1, - "image": "50709", - "description": "Increases the lifespan of your Power Mount by 15 days.", - "other": null - }, - { - "id": 45, - "vnum": 38102, - "category_id": 5, - "old_price": null, - "price": 99, - "pricing": "CASH", - "quantity": 1, - "image": "50709", - "description": "Increases the lifespan of your Power Mount by 30 days.", - "other": null - }, - { - "id": 46, - "vnum": 72701, - "category_id": 5, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 1, - "image": "72701", - "description": "Increases your movement speed by 30 when equipped.", - "other": null - }, - { - "id": 47, - "vnum": 39004, - "category_id": 5, - "old_price": null, - "price": 9, - "pricing": "CASH", - "quantity": 1, - "image": "70024", - "description": "This legendary marble adds a fifth attribute to items that already have four attributes. The addition can also fail though. This item is tradeable.", - "other": null - }, - { - "id": 48, - "vnum": 71095, - "category_id": 5, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 25, - "image": "71095", - "description": "If you give this ticket to the guard, you will be allowed to enter a new floor of the Spider Dungeon as well as the Red Dragon Fortress.", - "other": null - }, - { - "id": 49, - "vnum": 71012, - "category_id": 5, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 1, - "image": "70003", - "description": "While the leader of a group is equipped with this book, all members will gain 30% more Experience points", - "other": null - }, - { - "id": 50, - "vnum": 71008, - "category_id": 5, - "old_price": null, - "price": 18, - "pricing": "CASH", - "quantity": 1, - "image": "27620", - "description": "7 zile, din cont", - "other": null - }, - { - "id": 51, - "vnum": 71008, - "category_id": 5, - "old_price": null, - "price": 30, - "pricing": "CASH", - "quantity": 1, - "image": "27620", - "description": "15 zile, din cont", - "other": null - }, - { - "id": 52, - "vnum": 71008, - "category_id": 5, - "old_price": null, - "price": 42, - "pricing": "CASH", - "quantity": 1, - "image": "27620", - "description": "30 zile, din cont", - "other": null - }, - { - "id": 53, - "vnum": 71004, - "category_id": 5, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 10, - "image": "71004", - "description": "Protects you from a loss of experience points at your next revival.", - "other": null - }, - { - "id": 54, - "vnum": 27989, - "category_id": 5, - "old_price": null, - "price": 79, - "pricing": "CASH", - "quantity": 1, - "image": "27989", - "description": "The compass shows you the position and distance to the next Metin Stone. The brighter it glows, the closer you are. It can be activated 6 times.", - "other": null - }, - { - "id": 55, - "vnum": 71110, - "category_id": 5, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "71110", - "description": "This piece of sugar allows you to give your mount a name. It also increases is defence value by 20.", - "other": null - }, - { - "id": 56, - "vnum": 39031, - "category_id": 5, - "old_price": null, - "price": 24, - "pricing": "CASH", - "quantity": 1, - "image": "71101", - "description": "This potion reduces the cooldown time of your abilities by 20 percent for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 57, - "vnum": 30190, - "category_id": 5, - "old_price": null, - "price": 12, - "pricing": "CASH", - "quantity": 1, - "image": "30190", - "description": "This stone is made from the blood of Bahar-Taraji and grants you entrance into the Grotto of Exile.", - "other": null - }, - { - "id": 58, - "vnum": 39038, - "category_id": 4, - "old_price": null, - "price": 15, - "pricing": "CASH", - "quantity": 1, - "image": "72724", - "description": "Automatically refills your HP. Contains 3,000,000 HP. This item is tradeable.", - "other": null - }, - { - "id": 95, - "vnum": 39029, - "category_id": 11, - "old_price": null, - "price": 299, - "pricing": "CASH", - "quantity": 4, - "image": "71085", - "description": "3 + 1 economy package", - "other": null - }, - { - "id": 59, - "vnum": 39041, - "category_id": 4, - "old_price": null, - "price": 11, - "pricing": "CASH", - "quantity": 1, - "image": "72728", - "description": "Automatically refills your SP. Contains 300,000 SP. This item is tradeable.", - "other": null - }, - { - "id": 60, - "vnum": 39026, - "category_id": 4, - "old_price": null, - "price": 35, - "pricing": "CASH", - "quantity": 10, - "image": "27103", - "description": "Boosts your motion speed by 60 for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 61, - "vnum": 71014, - "category_id": 4, - "old_price": null, - "price": 33, - "pricing": "CASH", - "quantity": 10, - "image": "27102", - "description": "Increases your attack speed by 10% for 30 minutes.", - "other": null - }, - { - "id": 62, - "vnum": 71034, - "category_id": 4, - "old_price": null, - "price": 19, - "pricing": "CASH", - "quantity": 5, - "image": "27102", - "description": "Increases your attack speed by 15% for 30 minutes.", - "other": null - }, - { - "id": 63, - "vnum": 39003, - "category_id": 4, - "old_price": null, - "price": 10, - "pricing": "CASH", - "quantity": 5, - "image": "70020", - "description": "Beverage that will immediately regenerate your HP by 500 points. This item is tradeable.", - "other": null - }, - { - "id": 64, - "vnum": 71018, - "category_id": 4, - "old_price": null, - "price": 15, - "pricing": "CASH", - "quantity": 5, - "image": "71018", - "description": "A blessing with which your HP are immediately recovered to 100%.", - "other": null - }, - { - "id": 65, - "vnum": 71019, - "category_id": 4, - "old_price": null, - "price": 15, - "pricing": "CASH", - "quantity": 5, - "image": "71019", - "description": "A blessing that regenerates all your SP immediately.", - "other": null - }, - { - "id": 66, - "vnum": 71020, - "category_id": 4, - "old_price": null, - "price": 20, - "pricing": "CASH", - "quantity": 5, - "image": "71020", - "description": "A blessing with which your HP and SP are immediately recovered to 100%.", - "other": null - }, - { - "id": 82, - "vnum": 71073, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71073", - "description": "Increases the attack power for both spouses by a maximum of 40 for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 83, - "vnum": 71074, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71074", - "description": "Increases defence of both spouses by a maximum of 30 for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 84, - "vnum": 71071, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71071", - "description": "Increase the chance of critical hits for both spouses by a maximum of 8% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 85, - "vnum": 71069, - "category_id": 6, - "old_price": null, - "price": 21, - "pricing": "CASH", - "quantity": 1, - "image": "71069", - "description": "Increase the chance of a piercing hit for both spouses by a maximum of 8% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", - "other": null - }, - { - "id": 86, - "vnum": 50255, - "category_id": 7, - "old_price": null, - "price": 10, - "pricing": "CASH", - "quantity": 1, - "image": "50255", - "description": "The crystalline dragon heart holds the soul, the Dragon Stone, within.", - "other": null - }, - { - "id": 87, - "vnum": 100300, - "category_id": 7, - "old_price": null, - "price": 19, - "pricing": "CASH", - "quantity": 1, - "image": "100300", - "description": "The magical bean increases your Dragon Stone's level. The strengthening process may fail.", - "other": null - }, - { - "id": 88, - "vnum": 39004, - "category_id": 7, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 1, - "image": "70024", - "description": "Legendary blessed marble. When an item has four attributes, it adds another attribute. Not tradeable.", - "other": null - }, - { - "id": 89, - "vnum": 39028, - "category_id": 7, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 1, - "image": "71084", - "description": "Removes the bonuses from one of your items and adds new ones. This item is tradeable.", - "other": null - }, - { - "id": 90, - "vnum": 39027, - "category_id": 7, - "old_price": null, - "price": 29, - "pricing": "CASH", - "quantity": 1, - "image": "71083", - "description": "Removes all broken stones from an item. With that you will get another chance to improve your weapon or armour. This item is tradeable.", - "other": null - }, - { - "id": 91, - "vnum": 39029, - "category_id": 7, - "old_price": null, - "price": 99, - "pricing": "CASH", - "quantity": 1, - "image": "71085", - "description": "If you're lucky it will add a new bonus onto one of your items (up to a max. of 4 bonuses). This item is tradeable.", - "other": null - }, - { - "id": 92, - "vnum": 39015, - "category_id": 7, - "old_price": null, - "price": 79, - "pricing": "CASH", - "quantity": 1, - "image": "71003", - "description": "At the blacksmith's you can create a blacksmith handbook with the help of this stone and a blessing scroll. This item is tradeable.", - "other": null - }, - { - "id": 93, - "vnum": 39016, - "category_id": 7, - "old_price": null, - "price": 59, - "pricing": "CASH", - "quantity": 1, - "image": "30064", - "description": "This ore, when combined with a blessing scroll, enables the crafting of a dragon scroll at the blacksmiths. This item is tradeable.", - "other": null - }, - { - "id": 94, - "vnum": 39033, - "category_id": 7, - "old_price": null, - "price": 49, - "pricing": "CASH", - "quantity": 1, - "image": "71109", - "description": "This scroll allows you to remove the last successfully added Spirit Stone from an item. This item is tradeable.", - "other": null - }, - { - "id": 96, - "vnum": 39028, - "category_id": 11, - "old_price": null, - "price": 177, - "pricing": "CASH", - "quantity": 4, - "image": "71084", - "description": "3 + 1 economy pack", - "other": null - }, - { - "id": 97, - "vnum": 39008, - "category_id": 11, - "old_price": null, - "price": 166, - "pricing": "CASH", - "quantity": 10, - "image": "71001", - "description": "10x Exoricm Scrolls", - "other": null - }, - { - "id": 98, - "vnum": 25040, - "category_id": 11, - "old_price": null, - "price": 1440, - "pricing": "CASH", - "quantity": 3, - "image": "25040", - "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", - "other": null - }, - { - "id": 99, - "vnum": 71026, - "category_id": 12, - "old_price": null, - "price": 666, - "pricing": "MILEAGE", - "quantity": 1, - "image": "30064", - "description": "This ore, when combined with a blessing scroll, enables the crafting of a dragon scroll at the blacksmiths.", - "other": null - }, - { - "id": 100, - "vnum": 25040, - "category_id": 12, - "old_price": null, - "price": 720, - "pricing": "MILEAGE", - "quantity": 1, - "image": "25040", - "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", - "other": null - }, - { - "id": 101, - "vnum": 39030, - "category_id": 12, - "old_price": null, - "price": 599, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71094", - "description": "Increases the chance of improving your talent when reading the next book (or Soul Stone) by 2.5 times. This item is tradeable.", - "other": null - }, - { - "id": 102, - "vnum": 39024, - "category_id": 12, - "old_price": null, - "price": 420, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71044", - "description": "Increases the chance of landing a critical hit by 20% for 10 minutes. This item is tradeable.", - "other": null - }, - { - "id": 103, - "vnum": 39025, - "category_id": 12, - "old_price": null, - "price": 480, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71045", - "description": "Increases the chance of a piercing hit by 20% for 10 minutes. This item is tradeable.", - "other": null - }, - { - "id": 104, - "vnum": 39018, - "category_id": 12, - "old_price": null, - "price": 299, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71028", - "description": "Increases the damage you cause during a fight by 12-15% for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 105, - "vnum": 39019, - "category_id": 12, - "old_price": null, - "price": 240, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71029", - "description": "Increases your maximum SP by 20% for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 106, - "vnum": 39017, - "category_id": 12, - "old_price": null, - "price": 299, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71027", - "description": "Increases your maximum HP by 20% for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 107, - "vnum": 39020, - "category_id": 12, - "old_price": null, - "price": 319, - "pricing": "MILEAGE", - "quantity": 1, - "image": "71030", - "description": "Lowers the damage you receive during a fight by 12-15% for 30 minutes. This item is tradeable.", - "other": null - }, - { - "id": 108, - "vnum": 39005, - "category_id": 12, - "old_price": null, - "price": 849, - "pricing": "MILEAGE", - "quantity": 1, - "image": "70035", - "description": "When you combine this ore with a Blessing Scroll at the blacksmith's, you can create a Scroll of War. This item is tradeable.", - "other": null - }, - { - "id": 109, - "vnum": 30177, - "category_id": 12, - "old_price": null, - "price": 1, - "pricing": "MILEAGE", - "quantity": 1, - "image": "30177", - "description": "Musk Oil is used by the Weapon Shop Dealer during a quest. The item does not have any further functions.", - "other": null - }, - { - "id": 110, - "vnum": 25040, - "category_id": 12, - "old_price": null, - "price": 1440, - "pricing": "MILEAGE", - "quantity": 3, - "image": "25040", - "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", - "other": null - } -] \ No newline at end of file + { + "id": 1, + "vnum": 39018, + "category_id": 1, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71028", + "description": "Increases the damage you cause during a fight by 12-15% for 30 minutes. This item is tradeable.", + "other": "recommend_desc" + }, + { + "id": 2, + "vnum": 39019, + "category_id": 1, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 1, + "image": "71029", + "description": "Increases your maximum SP by 20% for 30 minutes. This item is tradeable.", + "other": "recommend_desc" + }, + { + "id": 3, + "vnum": 39017, + "category_id": 1, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "71027", + "description": "Increases your maximum HP by 20% for 30 minutes. This item is tradeable.", + "other": "recommend" + }, + { + "id": 4, + "vnum": 39020, + "category_id": 1, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71030", + "description": "Lowers the damage you receive during a fight by 12-15% for 30 minutes. This item is tradeable.", + "other": "recommend" + }, + { + "id": 13, + "vnum": 72018, + "category_id": 1, + "old_price": null, + "price": 24, + "pricing": "CASH", + "quantity": 1, + "image": "70002", + "description": "15 zile, probabil pe cont", + "other": null + }, + { + "id": 14, + "vnum": 72019, + "category_id": 1, + "old_price": null, + "price": 24, + "pricing": "CASH", + "quantity": 1, + "image": "71009", + "description": "15 zile, probabil pe cont", + "other": null + }, + { + "id": 15, + "vnum": 72006, + "category_id": 1, + "old_price": null, + "price": 51, + "pricing": "CASH", + "quantity": 1, + "image": "70043", + "description": "15 zile, probabil pe cont", + "other": null + }, + { + "id": 16, + "vnum": 72003, + "category_id": 1, + "old_price": null, + "price": 114, + "pricing": "CASH", + "quantity": 1, + "image": "70005", + "description": "15 zile, probabil pe cont", + "other": null + }, + { + "id": 19, + "vnum": 30319, + "category_id": 11, + "old_price": null, + "price": 189, + "pricing": "CASH", + "quantity": 25, + "image": "30319", + "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", + "other": null + }, + { + "id": 20, + "vnum": 30319, + "category_id": 11, + "old_price": null, + "price": 45, + "pricing": "CASH", + "quantity": 5, + "image": "30319", + "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", + "other": null + }, + { + "id": 80, + "vnum": 71070, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71070", + "description": "Increases the collection of experience points during battle for both spouses by a maximum of 20% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 74, + "vnum": 52701, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Lion", + "other": "recommend" + }, + { + "id": 75, + "vnum": 52702, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Tiger", + "other": null + }, + { + "id": 76, + "vnum": 52703, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Wild Boar", + "other": "recommend" + }, + { + "id": 77, + "vnum": 52704, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Wolf", + "other": null + }, + { + "id": 78, + "vnum": 52705, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Reindeer (m)", + "other": null + }, + { + "id": 79, + "vnum": 52706, + "category_id": 5, + "old_price": 99, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "52701", + "description": "Ownership Certificate for a Young Reindeer (f)", + "other": null + }, + { + "id": 81, + "vnum": 71072, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71072", + "description": "Reduces the attack power of enemy monsters on both spouses by a maximum of 15% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 21, + "vnum": 71001, + "category_id": 2, + "old_price": null, + "price": 19, + "pricing": "CASH", + "quantity": 1, + "image": "71001", + "description": "Will lift the curse of the evil spirit, if learning is not successful. With the help of this scroll you can read another document on the same day.", + "other": null + }, + { + "id": 22, + "vnum": 71003, + "category_id": 2, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "71003", + "description": "You can redistribute your skill points. This means your character development can be lead into a different direction. (Note: Possible loss of points.)", + "other": null + }, + { + "id": 23, + "vnum": 71002, + "category_id": 2, + "old_price": null, + "price": 79, + "pricing": "CASH", + "quantity": 1, + "image": "71002", + "description": "The application of this item makes it possible for you to redistribute your status points, so that you can develop your character in another direction.", + "other": null + }, + { + "id": 24, + "vnum": 71054, + "category_id": 2, + "old_price": null, + "price": 111, + "pricing": "CASH", + "quantity": 1, + "image": "71054", + "description": "A character is able to go into exile in another kingdom, this means changing the kingdom.", + "other": null + }, + { + "id": 25, + "vnum": 71048, + "category_id": 2, + "old_price": null, + "price": 199, + "pricing": "CASH", + "quantity": 1, + "image": "71048", + "description": "This charm can change the gender of your character.", + "other": null + }, + { + "id": 26, + "vnum": 71099, + "category_id": 2, + "old_price": null, + "price": 95, + "pricing": "CASH", + "quantity": 1, + "image": "80009", + "description": "Allows the leader of a guild to set up a successor.", + "other": null + }, + { + "id": 27, + "vnum": 71103, + "category_id": 2, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71103", + "description": "Puts your vitality back to 1 and allows you to redistribute your points.", + "other": null + }, + { + "id": 28, + "vnum": 71104, + "category_id": 2, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71104", + "description": "Puts your intelligence back to 1 and allows you to redistribute your points.", + "other": null + }, + { + "id": 29, + "vnum": 71105, + "category_id": 2, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71105", + "description": "Puts your strength back to 1 and allows you to redistribute your points.", + "other": null + }, + { + "id": 30, + "vnum": 71106, + "category_id": 2, + "old_price": null, + "price": 39, + "pricing": "CASH", + "quantity": 1, + "image": "71106", + "description": "Resets your dexterity back to 1 and allows you to redistribute your points.", + "other": null + }, + { + "id": 31, + "vnum": 71107, + "category_id": 2, + "old_price": null, + "price": 129, + "pricing": "CASH", + "quantity": 1, + "image": "71107", + "description": "Increases rank points by 2000 (cooldown time: 8 hours).", + "other": null + }, + { + "id": 32, + "vnum": 72029, + "category_id": 3, + "old_price": null, + "price": 26, + "pricing": "CASH", + "quantity": 1, + "image": "71011", + "description": "You can let your emotions run free for 15 days.", + "other": null + }, + { + "id": 33, + "vnum": 72030, + "category_id": 3, + "old_price": null, + "price": 48, + "pricing": "CASH", + "quantity": 1, + "image": "71011", + "description": "You can let your emotions run free for 30 days.", + "other": null + }, + { + "id": 34, + "vnum": 71049, + "category_id": 3, + "old_price": null, + "price": 9, + "pricing": "CASH", + "quantity": 1, + "image": "71049", + "description": "With this bundle you can open a private shop for 10 days free of charge.", + "other": null + }, + { + "id": 35, + "vnum": 39043, + "category_id": 3, + "old_price": null, + "price": 2, + "pricing": "CASH", + "quantity": 1, + "image": "22000", + "description": "The scroll enables your return to the location you last marked. This item is tradeable.", + "other": null + }, + { + "id": 36, + "vnum": 71005, + "category_id": 3, + "old_price": null, + "price": 15, + "pricing": "CASH", + "quantity": 1, + "image": "70006", + "description": "You can understand all kingdom languages for 7 days.", + "other": null + }, + { + "id": 37, + "vnum": 71006, + "category_id": 3, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 1, + "image": "70006", + "description": "You can understand all kingdom languages for 15 days.", + "other": null + }, + { + "id": 38, + "vnum": 71007, + "category_id": 3, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "70006", + "description": "You can understand all kingdom languages for 30 days.", + "other": null + }, + { + "id": 39, + "vnum": 71113, + "category_id": 3, + "old_price": null, + "price": 9, + "pricing": "CASH", + "quantity": 10, + "image": "71113", + "description": "Allows you to show another player items from your inventory. The glass breaks in the process.", + "other": null + }, + { + "id": 40, + "vnum": 30319, + "category_id": 5, + "old_price": null, + "price": 12, + "pricing": "CASH", + "quantity": 1, + "image": "30319", + "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb. This item is tradeable.", + "other": null + }, + { + "id": 41, + "vnum": 30320, + "category_id": 5, + "old_price": null, + "price": 10, + "pricing": "CASH", + "quantity": 1, + "image": "30320", + "description": "This demon's Shrunken Head opens the seal to the 3rd floor of the Devil's Catacomb.", + "other": null + }, + { + "id": 42, + "vnum": 39006, + "category_id": 5, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 50, + "image": "70038", + "description": "Ancient Warriors showed off their bravery by wearing a colourful cape with which they attracted the attention of monsters. Not tradeable.", + "other": null + }, + { + "id": 43, + "vnum": 38100, + "category_id": 5, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 1, + "image": "50709", + "description": "Increases the lifespan of your Power Mount by 7 days.", + "other": null + }, + { + "id": 44, + "vnum": 38101, + "category_id": 5, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 1, + "image": "50709", + "description": "Increases the lifespan of your Power Mount by 15 days.", + "other": null + }, + { + "id": 45, + "vnum": 38102, + "category_id": 5, + "old_price": null, + "price": 99, + "pricing": "CASH", + "quantity": 1, + "image": "50709", + "description": "Increases the lifespan of your Power Mount by 30 days.", + "other": null + }, + { + "id": 46, + "vnum": 72701, + "category_id": 5, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 1, + "image": "72701", + "description": "Increases your movement speed by 30 when equipped.", + "other": null + }, + { + "id": 47, + "vnum": 39004, + "category_id": 5, + "old_price": null, + "price": 9, + "pricing": "CASH", + "quantity": 1, + "image": "70024", + "description": "This legendary marble adds a fifth attribute to items that already have four attributes. The addition can also fail though. This item is tradeable.", + "other": null + }, + { + "id": 48, + "vnum": 71095, + "category_id": 5, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 25, + "image": "71095", + "description": "If you give this ticket to the guard, you will be allowed to enter a new floor of the Spider Dungeon as well as the Red Dragon Fortress.", + "other": null + }, + { + "id": 49, + "vnum": 71012, + "category_id": 5, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 1, + "image": "70003", + "description": "While the leader of a group is equipped with this book, all members will gain 30% more Experience points", + "other": null + }, + { + "id": 50, + "vnum": 71008, + "category_id": 5, + "old_price": null, + "price": 18, + "pricing": "CASH", + "quantity": 1, + "image": "27620", + "description": "7 zile, din cont", + "other": null + }, + { + "id": 51, + "vnum": 71008, + "category_id": 5, + "old_price": null, + "price": 30, + "pricing": "CASH", + "quantity": 1, + "image": "27620", + "description": "15 zile, din cont", + "other": null + }, + { + "id": 52, + "vnum": 71008, + "category_id": 5, + "old_price": null, + "price": 42, + "pricing": "CASH", + "quantity": 1, + "image": "27620", + "description": "30 zile, din cont", + "other": null + }, + { + "id": 53, + "vnum": 71004, + "category_id": 5, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 10, + "image": "71004", + "description": "Protects you from a loss of experience points at your next revival.", + "other": null + }, + { + "id": 54, + "vnum": 27989, + "category_id": 5, + "old_price": null, + "price": 79, + "pricing": "CASH", + "quantity": 1, + "image": "27989", + "description": "The compass shows you the position and distance to the next Metin Stone. The brighter it glows, the closer you are. It can be activated 6 times.", + "other": null + }, + { + "id": 55, + "vnum": 71110, + "category_id": 5, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "71110", + "description": "This piece of sugar allows you to give your mount a name. It also increases is defence value by 20.", + "other": null + }, + { + "id": 56, + "vnum": 39031, + "category_id": 5, + "old_price": null, + "price": 24, + "pricing": "CASH", + "quantity": 1, + "image": "71101", + "description": "This potion reduces the cooldown time of your abilities by 20 percent for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 57, + "vnum": 30190, + "category_id": 5, + "old_price": null, + "price": 12, + "pricing": "CASH", + "quantity": 1, + "image": "30190", + "description": "This stone is made from the blood of Bahar-Taraji and grants you entrance into the Grotto of Exile.", + "other": null + }, + { + "id": 58, + "vnum": 39038, + "category_id": 4, + "old_price": null, + "price": 15, + "pricing": "CASH", + "quantity": 1, + "image": "72724", + "description": "Automatically refills your HP. Contains 3,000,000 HP. This item is tradeable.", + "other": null + }, + { + "id": 95, + "vnum": 39029, + "category_id": 11, + "old_price": null, + "price": 299, + "pricing": "CASH", + "quantity": 4, + "image": "71085", + "description": "3 + 1 economy package", + "other": null + }, + { + "id": 59, + "vnum": 39041, + "category_id": 4, + "old_price": null, + "price": 11, + "pricing": "CASH", + "quantity": 1, + "image": "72728", + "description": "Automatically refills your SP. Contains 300,000 SP. This item is tradeable.", + "other": null + }, + { + "id": 60, + "vnum": 39026, + "category_id": 4, + "old_price": null, + "price": 35, + "pricing": "CASH", + "quantity": 10, + "image": "27103", + "description": "Boosts your motion speed by 60 for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 61, + "vnum": 71014, + "category_id": 4, + "old_price": null, + "price": 33, + "pricing": "CASH", + "quantity": 10, + "image": "27102", + "description": "Increases your attack speed by 10% for 30 minutes.", + "other": null + }, + { + "id": 62, + "vnum": 71034, + "category_id": 4, + "old_price": null, + "price": 19, + "pricing": "CASH", + "quantity": 5, + "image": "27102", + "description": "Increases your attack speed by 15% for 30 minutes.", + "other": null + }, + { + "id": 63, + "vnum": 39003, + "category_id": 4, + "old_price": null, + "price": 10, + "pricing": "CASH", + "quantity": 5, + "image": "70020", + "description": "Beverage that will immediately regenerate your HP by 500 points. This item is tradeable.", + "other": null + }, + { + "id": 64, + "vnum": 71018, + "category_id": 4, + "old_price": null, + "price": 15, + "pricing": "CASH", + "quantity": 5, + "image": "71018", + "description": "A blessing with which your HP are immediately recovered to 100%.", + "other": null + }, + { + "id": 65, + "vnum": 71019, + "category_id": 4, + "old_price": null, + "price": 15, + "pricing": "CASH", + "quantity": 5, + "image": "71019", + "description": "A blessing that regenerates all your SP immediately.", + "other": null + }, + { + "id": 66, + "vnum": 71020, + "category_id": 4, + "old_price": null, + "price": 20, + "pricing": "CASH", + "quantity": 5, + "image": "71020", + "description": "A blessing with which your HP and SP are immediately recovered to 100%.", + "other": null + }, + { + "id": 82, + "vnum": 71073, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71073", + "description": "Increases the attack power for both spouses by a maximum of 40 for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 83, + "vnum": 71074, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71074", + "description": "Increases defence of both spouses by a maximum of 30 for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 84, + "vnum": 71071, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71071", + "description": "Increase the chance of critical hits for both spouses by a maximum of 8% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 85, + "vnum": 71069, + "category_id": 6, + "old_price": null, + "price": 21, + "pricing": "CASH", + "quantity": 1, + "image": "71069", + "description": "Increase the chance of a piercing hit for both spouses by a maximum of 8% for 3 hours, if worn by one of them. The effect of the item depends on the percentage of love points. If a couple has, for example, 50% love points, the maximum effect is reduced by half.", + "other": null + }, + { + "id": 86, + "vnum": 50255, + "category_id": 7, + "old_price": null, + "price": 10, + "pricing": "CASH", + "quantity": 1, + "image": "50255", + "description": "The crystalline dragon heart holds the soul, the Dragon Stone, within.", + "other": null + }, + { + "id": 87, + "vnum": 100300, + "category_id": 7, + "old_price": null, + "price": 19, + "pricing": "CASH", + "quantity": 1, + "image": "100300", + "description": "The magical bean increases your Dragon Stone's level. The strengthening process may fail.", + "other": null + }, + { + "id": 88, + "vnum": 39004, + "category_id": 7, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 1, + "image": "70024", + "description": "Legendary blessed marble. When an item has four attributes, it adds another attribute. Not tradeable.", + "other": null + }, + { + "id": 89, + "vnum": 39028, + "category_id": 7, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 1, + "image": "71084", + "description": "Removes the bonuses from one of your items and adds new ones. This item is tradeable.", + "other": null + }, + { + "id": 90, + "vnum": 39027, + "category_id": 7, + "old_price": null, + "price": 29, + "pricing": "CASH", + "quantity": 1, + "image": "71083", + "description": "Removes all broken stones from an item. With that you will get another chance to improve your weapon or armour. This item is tradeable.", + "other": null + }, + { + "id": 91, + "vnum": 39029, + "category_id": 7, + "old_price": null, + "price": 99, + "pricing": "CASH", + "quantity": 1, + "image": "71085", + "description": "If you're lucky it will add a new bonus onto one of your items (up to a max. of 4 bonuses). This item is tradeable.", + "other": null + }, + { + "id": 92, + "vnum": 39015, + "category_id": 7, + "old_price": null, + "price": 79, + "pricing": "CASH", + "quantity": 1, + "image": "71003", + "description": "At the blacksmith's you can create a blacksmith handbook with the help of this stone and a blessing scroll. This item is tradeable.", + "other": null + }, + { + "id": 93, + "vnum": 39016, + "category_id": 7, + "old_price": null, + "price": 59, + "pricing": "CASH", + "quantity": 1, + "image": "30064", + "description": "This ore, when combined with a blessing scroll, enables the crafting of a dragon scroll at the blacksmiths. This item is tradeable.", + "other": null + }, + { + "id": 94, + "vnum": 39033, + "category_id": 7, + "old_price": null, + "price": 49, + "pricing": "CASH", + "quantity": 1, + "image": "71109", + "description": "This scroll allows you to remove the last successfully added Spirit Stone from an item. This item is tradeable.", + "other": null + }, + { + "id": 96, + "vnum": 39028, + "category_id": 11, + "old_price": null, + "price": 177, + "pricing": "CASH", + "quantity": 4, + "image": "71084", + "description": "3 + 1 economy pack", + "other": null + }, + { + "id": 97, + "vnum": 39008, + "category_id": 11, + "old_price": null, + "price": 166, + "pricing": "CASH", + "quantity": 10, + "image": "71001", + "description": "10x Exoricm Scrolls", + "other": null + }, + { + "id": 98, + "vnum": 25040, + "category_id": 11, + "old_price": null, + "price": 1440, + "pricing": "CASH", + "quantity": 3, + "image": "25040", + "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", + "other": null + }, + { + "id": 99, + "vnum": 71026, + "category_id": 12, + "old_price": null, + "price": 666, + "pricing": "MILEAGE", + "quantity": 1, + "image": "30064", + "description": "This ore, when combined with a blessing scroll, enables the crafting of a dragon scroll at the blacksmiths.", + "other": null + }, + { + "id": 100, + "vnum": 25040, + "category_id": 12, + "old_price": null, + "price": 720, + "pricing": "MILEAGE", + "quantity": 1, + "image": "25040", + "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", + "other": null + }, + { + "id": 101, + "vnum": 39030, + "category_id": 12, + "old_price": null, + "price": 599, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71094", + "description": "Increases the chance of improving your talent when reading the next book (or Soul Stone) by 2.5 times. This item is tradeable.", + "other": null + }, + { + "id": 102, + "vnum": 39024, + "category_id": 12, + "old_price": null, + "price": 420, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71044", + "description": "Increases the chance of landing a critical hit by 20% for 10 minutes. This item is tradeable.", + "other": null + }, + { + "id": 103, + "vnum": 39025, + "category_id": 12, + "old_price": null, + "price": 480, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71045", + "description": "Increases the chance of a piercing hit by 20% for 10 minutes. This item is tradeable.", + "other": null + }, + { + "id": 104, + "vnum": 39018, + "category_id": 12, + "old_price": null, + "price": 299, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71028", + "description": "Increases the damage you cause during a fight by 12-15% for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 105, + "vnum": 39019, + "category_id": 12, + "old_price": null, + "price": 240, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71029", + "description": "Increases your maximum SP by 20% for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 106, + "vnum": 39017, + "category_id": 12, + "old_price": null, + "price": 299, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71027", + "description": "Increases your maximum HP by 20% for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 107, + "vnum": 39020, + "category_id": 12, + "old_price": null, + "price": 319, + "pricing": "MILEAGE", + "quantity": 1, + "image": "71030", + "description": "Lowers the damage you receive during a fight by 12-15% for 30 minutes. This item is tradeable.", + "other": null + }, + { + "id": 108, + "vnum": 39005, + "category_id": 12, + "old_price": null, + "price": 849, + "pricing": "MILEAGE", + "quantity": 1, + "image": "70035", + "description": "When you combine this ore with a Blessing Scroll at the blacksmith's, you can create a Scroll of War. This item is tradeable.", + "other": null + }, + { + "id": 109, + "vnum": 30177, + "category_id": 12, + "old_price": null, + "price": 1, + "pricing": "MILEAGE", + "quantity": 1, + "image": "30177", + "description": "Musk Oil is used by the Weapon Shop Dealer during a quest. The item does not have any further functions.", + "other": null + }, + { + "id": 110, + "vnum": 25040, + "category_id": 12, + "old_price": null, + "price": 1440, + "pricing": "MILEAGE", + "quantity": 3, + "image": "25040", + "description": "Reduces the risk of destroying an Item if the upgrade fails. The cost of this save is that the quality is reduced by 1 point.", + "other": null + } +] diff --git a/database/data/skill_proto.json b/database/data/skill_proto.json index c4cafca..bbd4a9f 100644 --- a/database/data/skill_proto.json +++ b/database/data/skill_proto.json @@ -1,2543 +1,2543 @@ [ - { - "dwVnum": 1, - "szName": "u++/rML8", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-( 1.1*atk + (0.5*atk + 1.5 * str)*k)", - "szSPCostPoly": "40+100*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-( 1.1*atk + (0.5*atk + 1.5 * str)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+100*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 2, - "szName": "xsi55sezv+w=", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(3*atk + (0.8*atk + str*5 + dex*3 +con)*k)", - "szSPCostPoly": "50+130*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(3*atk + (0.8*atk + str*5 + dex*3 +con)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+130*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 200 - }, - { - "dwVnum": 3, - "szName": "wPyxzcil", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "ATT_SPEED", - "szPointPoly": "50*k", - "szSPCostPoly": "50+140*k", - "szDurationPoly": "60+90*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "63+10*k", - "szMasterBonusPoly": "50*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "JEONGWIHON", - "szPointOn2": "MOV_SPEED", - "szPointPoly2": "20*k", - "szDurationPoly2": "60+90*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 4, - "szName": "sMuw5g==", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "ATT_GRADE", - "szPointPoly": "(100 + str + lv * 3)*k", - "szSPCostPoly": "100+200*k", - "szDurationPoly": "30+50*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "30+10*k", - "szMasterBonusPoly": "(100 + str + lv * 3)*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "GEOMGYEONG", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "100+200*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 5, - "szName": "xbrIr7Dd", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2*atk + (atk + dex*3 + str*7 + con)*k)", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-(2*atk + (atk + dex*3 + str*7 + con)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "MOV_SPEED", - "szPointPoly2": "150", - "szDurationPoly2": "3", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 4, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 200 - }, - { - "dwVnum": 16, - "szName": "seKw+ML8", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2.3*atk + (4*atk + str*4 + con)*k)", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(2.3*atk + (4*atk + str*4 + con)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 4, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 100 - }, - { - "dwVnum": 17, - "szName": "sN276sW4v+w=", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2.3*atk + (3*atk + str*4 + con*3)*k)", - "szSPCostPoly": "60+150*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(2.3*atk + (3*atk + str*4 + con*3)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+150*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 8, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 200 - }, - { - "dwVnum": 18, - "szName": "tOvB+LCi", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2*atk + (2*atk + 2*dex + 2*con + str*4)*k)", - "szSPCostPoly": "50+140*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "25", - "szMasterBonusPoly": "-(2*atk + (2*atk + 2*dex + 2*con + str*4)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,ATTACK_STUN", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "100+k*1000/6", - "szDurationPoly2": "2", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 10, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 400 - }, - { - "dwVnum": 19, - "szName": "w7Wx2cPf", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "DEF_GRADE", - "szPointPoly": "(200 + str*0.2 + con*0.5 ) *k", - "szSPCostPoly": "80+220*k", - "szDurationPoly": "60+90*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "63+10*k", - "szMasterBonusPoly": "(200 + str*0.2 + con*0.5 ) *k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "CHEONGEUN", - "szPointOn2": "MOV_SPEED", - "szPointPoly2": "-(1+9*k)", - "szDurationPoly2": "60+90*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "80+220*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 20, - "szName": "sMvHsw==", - "bType": 1, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2*atk + (atk + dex*3 + str*5 + con)*k)", - "szSPCostPoly": "40+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "20", - "szMasterBonusPoly": "-(2*atk + (atk + dex*3 + str*5 + con)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 10, - "szSplashAroundDamageAdjustPoly": "0.5", - "dwTargetRange": 1200, - "dwSplashRange": 200 - }, - { - "dwVnum": 31, - "szName": "vs+9wA==", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + (1.2 * atk + number(500, 700) + dex*4+ str*4 )*k)", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(atk + (1.2 * atk + number(500, 700) + dex*4+ str*4 )*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 6, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 32, - "szName": "scO9xcW6v7U=", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "20", - "szMasterBonusPoly": "-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 6, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 800, - "dwSplashRange": 0 - }, - { - "dwVnum": 33, - "szName": "wve3+7vs", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(2*atk + (0.5*atk + dex*9 + str*7)*k)", - "szSPCostPoly": "50+140*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "25", - "szMasterBonusPoly": "-(2*atk + (0.5*atk + dex*9 + str*7)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,ATTACK_POISON", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "40*k", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 34, - "szName": "wLrH/Ln9", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "30+60*k", - "szDurationPoly": "15+30*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "60", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "EUNHYUNG", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+60*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 35, - "szName": "u+qw+LrQ", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(lv*2+(atk + str*3 + dex*18)*k)", - "szSPCostPoly": "40+130*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "25", - "szMasterBonusPoly": "-(lv*2+(atk + str*3 + dex*18)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "60*k", - "szDurationPoly2": "5+25*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+130*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "0.5", - "dwTargetRange": 800, - "dwSplashRange": 200 - }, - { - "dwVnum": 46, - "szName": "v6y75w==", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + 0.3*atk*floor(2+k*6)+ (0.8*atk+dex*8*ar) *k)", - "szSPCostPoly": "40+130*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(atk + 0.2*atk*floor(2+k*6)+ (0.8*atk+dex*8*ar) *k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_ARROW_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+130*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "RANGE", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 2500, - "dwSplashRange": 0 - }, - { - "dwVnum": 47, - "szName": "sPyw3bz6", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + (1.9*atk + dex*2+ str*2)*k)", - "szSPCostPoly": "30+130*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-(atk + (1.7*atk + dex*2+ str*2)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_ARROW_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+130*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "RANGE", - "iMaxHit": 8, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 2500, - "dwSplashRange": 0 - }, - { - "dwVnum": 48, - "szName": "yK3BtsbE", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(1.5*atk + (2.8*atk + number(100, 300))*k)", - "szSPCostPoly": "50+130*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "25", - "szMasterBonusPoly": "-(1.5*atk + (2.6*atk + number(100, 300))*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SPLASH,USE_ARROW_DAMAGE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+130*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "RANGE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "0.6", - "dwTargetRange": 2500, - "dwSplashRange": 300 - }, - { - "dwVnum": 49, - "szName": "sOaw+Lz6", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "MOV_SPEED", - "szPointPoly": "60*k", - "szSPCostPoly": "30+40*k", - "szDurationPoly": "15+30*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "30+30*k", - "szMasterBonusPoly": "60*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "GYEONGGONG", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+40*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 50, - "szName": "tbax4rHD", - "bType": 2, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + (1.5*atk + number(100, 200)+dex*6+str*2)*k)", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "25", - "szMasterBonusPoly": "-(atk + (1.2*atk + number(100, 200)+dex*6+str*2)*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SPLASH,USE_ARROW_DAMAGE,CRUSH,ATTACK_POISON", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "80*k", - "szDurationPoly2": "15+30*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "RANGE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "0.5", - "dwTargetRange": 2500, - "dwSplashRange": 300 - }, - { - "dwVnum": 61, - "szName": "vOK3ycH2", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(atk + 2*lv + iq*2 + ( 2*atk + str*4 + iq*14) * k)", - "szSPCostPoly": "30+140*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "-(atk + 2*lv + iq*2 + ( 2*atk + str*4 + iq*14) * k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,PENETRATE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "1+k*9", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 4, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 62, - "szName": "v+uxx8bE", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(1.1 * atk + 2*lv + iq*2+(1.5*atk + str + iq*12) * k)", - "szSPCostPoly": "50+150*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(1.1 * atk + 2*lv + iq*2+(1.5*atk + str + iq*12) * k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TARGET_RATING", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "1+k*9", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+150*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 500 - }, - { - "dwVnum": 63, - "szName": "sc2wyw==", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "ATT_GRADE", - "szPointPoly": "(3 * iq + 2 * lv)*k", - "szSPCostPoly": "20+240*k", - "szDurationPoly": "50+100*k", - "szDurationSPCostPoly": "2+23*k", - "szCooldownPoly": "0", - "szMasterBonusPoly": "(3 * iq + 2 * lv)*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY,TOGGLE", - "setAffectFlag": "GWIGUM", - "szPointOn2": "HIT_HP_RECOVER", - "szPointPoly2": "10*k", - "szDurationPoly2": "50+80*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "20+240*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 64, - "szName": "sPjG9w==", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "DODGE", - "szPointPoly": "1 + 29 * k", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "60+100*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "100", - "szMasterBonusPoly": "1 + 29 * k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "TERROR", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 65, - "szName": "wda4trCp", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "DEF_GRADE", - "szPointPoly": "(iq+30)*k", - "szSPCostPoly": "70+170*k", - "szDurationPoly": "30+120*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "33+140*k", - "szMasterBonusPoly": "(iq+30)*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "JUMAGAP", - "szPointOn2": "REFLECT_MELEE", - "szPointPoly2": "(iq/4+10)*k", - "szDurationPoly2": "30+120*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "70+170*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 66, - "szName": "xsS5/bz6", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(40 +5*lv + 2*iq+(10*iq + 7*mwep + number(50,100) )*ar*k)", - "szSPCostPoly": "30+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-(40 +5*lv + 2*iq+(10*iq + 7*mwep + number(50,100) )*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,REMOVE_GOOD_AFFECT", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "10+40*k", - "szDurationPoly2": "7+23*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "0.6", - "dwTargetRange": 1800, - "dwSplashRange": 200 - }, - { - "dwVnum": 76, - "szName": "uLa3yQ==", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(40 +5*lv + 2*iq +(13*iq + 6*mwep + number(50,100) )*ar*k)", - "szSPCostPoly": "30+140*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "7", - "szMasterBonusPoly": "-(40 +5*lv + 2*iq +(13*iq + 6*mwep + number(50,100) )*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "0.6", - "dwTargetRange": 1500, - "dwSplashRange": 200 - }, - { - "dwVnum": 77, - "szName": "yK2/sMb4", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(5*lv + 2*iq+(10*iq + 6*mwep + str*4 + con*2 + number(180,200) )*k)", - "szSPCostPoly": "60+140*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-(5*lv + 2*iq+(10*iq + 6*mwep + str*4 + con*2 + number(180,200) )*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SELFONLY,COMPUTE_MAGIC_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+140*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 15, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 500 - }, - { - "dwVnum": 78, - "szName": "uau/tcH4", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(30+ 2*lv + 2*iq+(7*iq + 6*mwep + number(200,500))*ar*k)", - "szSPCostPoly": "20+30*k", - "szDurationPoly": "40+30*k", - "szDurationSPCostPoly": "5+40*k", - "szCooldownPoly": "43+30*k", - "szMasterBonusPoly": "-(30+ 2*lv + 2*iq+(7*iq + 6*mwep + number(200,500))*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,TOGGLE", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "20+30*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 800, - "dwSplashRange": 0 - }, - { - "dwVnum": 79, - "szName": "yOa9xbz2yKM=", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "DEF_GRADE", - "szPointPoly": "(0.5*iq+15)*k", - "szSPCostPoly": "20+30*k", - "szDurationPoly": "60+120*k", - "szDurationSPCostPoly": "5+10*k", - "szCooldownPoly": "63+10*k", - "szMasterBonusPoly": "(0.5*iq+15)*k", - "szAttackGradePoly": "", - "setFlag": "SELFONLY,TOGGLE", - "setAffectFlag": "MANASHIELD", - "szPointOn2": "MANASHIELD", - "szPointPoly2": "100-((iq*0.84)*k)", - "szDurationPoly2": "60+10*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "20+30*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 80, - "szName": "xfW807i2t8k=", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(40 + 2* lv + 2*iq +(2 * con + 2 * dex + 13*iq + 6*mwep + number(180, 200))*ar*k)", - "szSPCostPoly": "40+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "-(40 + 2* lv + 2*iq +(2 * con + 2 * dex + 13*iq + 6*mwep + number(180, 200))*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,ATTACK_SLOW", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "333+300*k", - "szDurationPoly2": "10+10*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 9, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 1200, - "dwSplashRange": 400 - }, - { - "dwVnum": 81, - "szName": "uLbIr7Dd", - "bType": 3, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(120 + 6*lv + (5 * con + 5 * dex + 29*iq + 9*mwep)*ar*k)", - "szSPCostPoly": "80+220*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "24", - "szMasterBonusPoly": "-(120 + 6*lv + (5 * con + 5 * dex + 29*iq + 9*mwep)*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "80+220*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 9, - "szSplashAroundDamageAdjustPoly": "0.4", - "dwTargetRange": 1500, - "dwSplashRange": 200 - }, - { - "dwVnum": 91, - "szName": "uvHGxLrO", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(70 + 4*lv + (20*iq+5*mwep+50)*ar*k)", - "szSPCostPoly": "30+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "7", - "szMasterBonusPoly": "-(70 + 4*lv + (20*iq+5*mwep+50)*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "0.5", - "dwTargetRange": 1800, - "dwSplashRange": 201 - }, - { - "dwVnum": 92, - "szName": "v+vGxLvq", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(60 + 5*lv + (18*iq + 6*mwep + 120)*ar*k)", - "szSPCostPoly": "50+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "8", - "szMasterBonusPoly": "-(60 + 5*lv + (18*iq + 6*mwep + 120)*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,ATTACK_FIRE_CONT", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "lv+5*iq *k", - "szDurationPoly2": "iq*0.2*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 10, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 93, - "szName": "xtC35sb4", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(80 + 6*lv + (20*iq+14*mwep+120)*ar*k)", - "szSPCostPoly": "50+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "20", - "szMasterBonusPoly": "-(80 + 6*lv + (20*iq+14*mwep+120)*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SELFONLY,SPLASH,ATTACK_FIRE_CONT", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "lv+5*iq *k", - "szDurationPoly2": "iq*0.2*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 15, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 0, - "dwSplashRange": 500 - }, - { - "dwVnum": 94, - "szName": "yKO9xQ==", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "RESIST_NORMAL", - "szPointPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "60+200*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "HOSIN", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 800, - "dwSplashRange": 0 - }, - { - "dwVnum": 95, - "szName": "ud275w==", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "REFLECT_MELEE", - "szPointPoly": "5+(iq*0.3 + 5)*k", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "60+200*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "5+(iq*0.3 + 5)*k", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "BOHO", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 96, - "szName": "seLDtbTrsPg=", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "CRITICAL", - "szPointPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", - "szSPCostPoly": "40+160*k", - "szDurationPoly": "60+100*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "GICHEON", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+160*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 106, - "szName": "s/rA/LfJ", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(60 + 4*lv + (7*iq+8*mwep+number(iq*5,iq*15))*ar*k)", - "szSPCostPoly": "30+150*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "7", - "szMasterBonusPoly": "-(60 + 4*lv + (7*iq+8*mwep+number(iq*5,iq*15))*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "30+150*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "0.6", - "dwTargetRange": 1800, - "dwSplashRange": 200 - }, - { - "dwVnum": 107, - "szName": "uq229A==", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(40 + 4*lv + (13*iq+7*mwep+number(iq*5,iq*16))*ar*k)", - "szSPCostPoly": "50+150*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "-(40 + 4*lv + (13*iq+7*mwep+number(iq*5,iq*16))*ar*k)", - "szAttackGradePoly": "", - "setFlag": "ATTACK,SPLASH,ATTACK_STUN", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "50+1000*k/6", - "szDurationPoly2": "5", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "50+150*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 15, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 1500, - "dwSplashRange": 400 - }, - { - "dwVnum": 108, - "szName": "xvi32rDd", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-(50 + 5*lv + (6*iq+6*mwep+number(1,800))*ar*k) * (1-chain*0.13)", - "szSPCostPoly": "40+180*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "-(50 + 5*lv + (6*iq+6*mwep+number(1,800))*ar*k) * (1-chain*0.13)", - "szAttackGradePoly": "", - "setFlag": "ATTACK", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+180*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MAGIC", - "iMaxHit": 7, - "szSplashAroundDamageAdjustPoly": "0.8", - "dwTargetRange": 2500, - "dwSplashRange": 0 - }, - { - "dwVnum": 109, - "szName": "waS+98DO", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "200+7*lv+(30*iq+6*mwep+600)*k", - "szSPCostPoly": "40+200*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "200+7*lv+(30*iq+6*mwep+600)*k", - "szAttackGradePoly": "", - "setFlag": "REMOVE_BAD_AFFECT", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "20+80*k", - "szDurationPoly2": "0", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "40+200*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 110, - "szName": "xOi80w==", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "MOV_SPEED", - "szPointPoly": "5 + 35*k", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "60+100*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "5 + 35*k", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "KWAESOK", - "szPointOn2": "CASTING_SPEED", - "szPointPoly2": "3+33*k", - "szDurationPoly2": "60+100*k", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 111, - "szName": "wfW3wrz6", - "bType": 4, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "ATT_GRADE", - "szPointPoly": "10+(iq*0.4 +20)*k", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "60+100*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "10+(iq*0.4 +30)*k", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "JEUNGRYEOK", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "60+120*k", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 1, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 121, - "szName": "xeu81rfC", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 40, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 122, - "szName": "v6yw6LHi", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 2, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 124, - "szName": "w6SxpLz6", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 40, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 125, - "szName": "uq+9xQ==", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 40, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "10+1000*k", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "YMIR", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "YMIR", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 1000, - "dwSplashRange": 0 - }, - { - "dwVnum": 126, - "szName": "vcW89r7u", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 20, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 127, - "szName": "w7XBtr7u", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 20, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 128, - "szName": "wfiz677u", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 20, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 129, - "szName": "tdCwqbz6", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 40, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "NONE", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 130, - "szName": "vcK4tg==", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 131, - "szName": "uLu80siv", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 10, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "DISABLE_BY_POINT_UP", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 137, - "szName": "s625qw==", - "bType": 5, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 50, - "szPointOn": "HP", - "szPointPoly": "-(atk+(2*atk*k))", - "szSPCostPoly": "60+80*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "5-(4*k)", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 10, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 300, - "dwSplashRange": 0 - }, - { - "dwVnum": 138, - "szName": "tbmw3Q==", - "bType": 5, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 52, - "szPointOn": "HP", - "szPointPoly": "-(2.4*(200+1.5*lv)+(3*200*k))", - "szSPCostPoly": "60+120*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "15", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH_LONG", - "setAffectFlag": "", - "szPointOn2": "MOV_SPEED", - "szPointPoly2": "50", - "szDurationPoly2": "5", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 6, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 400, - "dwSplashRange": 100 - }, - { - "dwVnum": 139, - "szName": "xbvD4g==", - "bType": 5, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 55, - "szPointOn": "HP", - "szPointPoly": "-(2*(200+1.5*lv)+(3*200*k))", - "szSPCostPoly": "60+160*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "20", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 12, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 400, - "dwSplashRange": 250 - }, - { - "dwVnum": 140, - "szName": "s625qyjIsCk=", - "bType": 5, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 50, - "szPointOn": "HP", - "szPointPoly": "-(atk+(2*atk*k))", - "szSPCostPoly": "60+80*k", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_ARROW_DAMAGE,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "", - "iMaxHit": 5, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 2500, - "dwSplashRange": 0 - }, - { - "dwVnum": 151, - "szName": "v+u+yA==", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 152, - "szName": "v+u9xcDHx8c=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "MAX_HP", - "szPointPoly": "maxhp*0.2*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "300", - "szDurationSPCostPoly": "", - "szCooldownPoly": "600", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 153, - "szName": "v+u9xcDHw+C6uQ==", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "MAX_SP", - "szPointPoly": "maxsp*0.2*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "300", - "szDurationSPCostPoly": "", - "szCooldownPoly": "600", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 154, - "szName": "vLrI1rCp", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "DEF_GRADE", - "szPointPoly": "odef*0.1*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "180", - "szDurationSPCostPoly": "", - "szCooldownPoly": "480", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 155, - "szName": "sKG808it", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "MOV_SPEED", - "szPointPoly": "15*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "180", - "szDurationSPCostPoly": "", - "szCooldownPoly": "480", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "ATT_SPEED", - "szPointPoly2": "15*k", - "szDurationPoly2": "180", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 156, - "szName": "v+u9xcDHutCz6w==", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "CRITICAL", - "szPointPoly": "50*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "180", - "szDurationSPCostPoly": "", - "szCooldownPoly": "480", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 157, - "szName": "wda5rrz6", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 7, - "bLevelLimit": 0, - "szPointOn": "CASTING_SPEED", - "szPointPoly": "50*k", - "szSPCostPoly": "150+150*k", - "szDurationPoly": "180", - "szDurationSPCostPoly": "", - "szCooldownPoly": "480", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 158, - "szName": "sea15cDMtb8=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 3, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 159, - "szName": "sPiwo8DHua4=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 5, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 160, - "szName": "sKG808it", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 5, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "3*k", - "szSPCostPoly": "80-12*k", - "szDurationPoly": "300", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "SELFONLY", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 161, - "szName": "sPiwo8DHua4=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 2, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "50", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 162, - "szName": "sPiwo8DMtb8=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 2, - "bLevelLimit": 0, - "szPointOn": "NONE", - "szPointPoly": "", - "szSPCostPoly": "20", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "NORMAL", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 0 - }, - { - "dwVnum": 256, - "szName": "Q1JVU0gyMDC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "4", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 300 - }, - { - "dwVnum": 257, - "szName": "wM+53bn8wKczNTC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "6", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 525 - }, - { - "dwVnum": 258, - "szName": "Q1JVU0gzMDC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "8", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 450 - }, - { - "dwVnum": 259, - "szName": "wM+53bn8wKcyMDC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 300 - }, - { - "dwVnum": 260, - "szName": "Q1VSU0g0MDC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "12", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 600 - }, - { - "dwVnum": 261, - "szName": "tbYyNTC9usWz", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "10", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON", - "setAffectFlag": "", - "szPointOn2": "NONE", - "szPointPoly2": "80", - "szDurationPoly2": "", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 375 - }, - { - "dwVnum": 262, - "szName": "U0xPVzMwML26xbM=", - "bType": 0, - "bLevelStep": 1, - "bMaxLevel": 1, - "bLevelLimit": 0, - "szPointOn": "HP", - "szPointPoly": "-5*k*atk", - "szSPCostPoly": "", - "szDurationPoly": "", - "szDurationSPCostPoly": "", - "szCooldownPoly": "14", - "szMasterBonusPoly": "", - "szAttackGradePoly": "", - "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", - "setAffectFlag": "", - "szPointOn2": "MOV_SPEED", - "szPointPoly2": "-20", - "szDurationPoly2": "10", - "setAffectFlag2": "", - "szPointOn3": "", - "szPointPoly3": "", - "szDurationPoly3": "", - "szGrandMasterAddSPCostPoly": "", - "prerequisiteSkillVnum": 0, - "prerequisiteSkillLevel": 0, - "eSkillType": "MELEE", - "iMaxHit": 0, - "szSplashAroundDamageAdjustPoly": "1", - "dwTargetRange": 0, - "dwSplashRange": 450 - } -] \ No newline at end of file + { + "dwVnum": 1, + "szName": "u++/rML8", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-( 1.1*atk + (0.5*atk + 1.5 * str)*k)", + "szSPCostPoly": "40+100*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-( 1.1*atk + (0.5*atk + 1.5 * str)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+100*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 2, + "szName": "xsi55sezv+w=", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(3*atk + (0.8*atk + str*5 + dex*3 +con)*k)", + "szSPCostPoly": "50+130*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(3*atk + (0.8*atk + str*5 + dex*3 +con)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+130*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 200 + }, + { + "dwVnum": 3, + "szName": "wPyxzcil", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "ATT_SPEED", + "szPointPoly": "50*k", + "szSPCostPoly": "50+140*k", + "szDurationPoly": "60+90*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "63+10*k", + "szMasterBonusPoly": "50*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "JEONGWIHON", + "szPointOn2": "MOV_SPEED", + "szPointPoly2": "20*k", + "szDurationPoly2": "60+90*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 4, + "szName": "sMuw5g==", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "ATT_GRADE", + "szPointPoly": "(100 + str + lv * 3)*k", + "szSPCostPoly": "100+200*k", + "szDurationPoly": "30+50*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "30+10*k", + "szMasterBonusPoly": "(100 + str + lv * 3)*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "GEOMGYEONG", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "100+200*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 5, + "szName": "xbrIr7Dd", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2*atk + (atk + dex*3 + str*7 + con)*k)", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-(2*atk + (atk + dex*3 + str*7 + con)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "MOV_SPEED", + "szPointPoly2": "150", + "szDurationPoly2": "3", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 4, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 200 + }, + { + "dwVnum": 16, + "szName": "seKw+ML8", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2.3*atk + (4*atk + str*4 + con)*k)", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(2.3*atk + (4*atk + str*4 + con)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 4, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 100 + }, + { + "dwVnum": 17, + "szName": "sN276sW4v+w=", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2.3*atk + (3*atk + str*4 + con*3)*k)", + "szSPCostPoly": "60+150*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(2.3*atk + (3*atk + str*4 + con*3)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+150*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 8, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 200 + }, + { + "dwVnum": 18, + "szName": "tOvB+LCi", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2*atk + (2*atk + 2*dex + 2*con + str*4)*k)", + "szSPCostPoly": "50+140*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "25", + "szMasterBonusPoly": "-(2*atk + (2*atk + 2*dex + 2*con + str*4)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,ATTACK_STUN", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "100+k*1000/6", + "szDurationPoly2": "2", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 10, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 400 + }, + { + "dwVnum": 19, + "szName": "w7Wx2cPf", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "DEF_GRADE", + "szPointPoly": "(200 + str*0.2 + con*0.5 ) *k", + "szSPCostPoly": "80+220*k", + "szDurationPoly": "60+90*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "63+10*k", + "szMasterBonusPoly": "(200 + str*0.2 + con*0.5 ) *k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "CHEONGEUN", + "szPointOn2": "MOV_SPEED", + "szPointPoly2": "-(1+9*k)", + "szDurationPoly2": "60+90*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "80+220*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 20, + "szName": "sMvHsw==", + "bType": 1, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2*atk + (atk + dex*3 + str*5 + con)*k)", + "szSPCostPoly": "40+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "20", + "szMasterBonusPoly": "-(2*atk + (atk + dex*3 + str*5 + con)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 10, + "szSplashAroundDamageAdjustPoly": "0.5", + "dwTargetRange": 1200, + "dwSplashRange": 200 + }, + { + "dwVnum": 31, + "szName": "vs+9wA==", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + (1.2 * atk + number(500, 700) + dex*4+ str*4 )*k)", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(atk + (1.2 * atk + number(500, 700) + dex*4+ str*4 )*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 6, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 32, + "szName": "scO9xcW6v7U=", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "20", + "szMasterBonusPoly": "-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 6, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 800, + "dwSplashRange": 0 + }, + { + "dwVnum": 33, + "szName": "wve3+7vs", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(2*atk + (0.5*atk + dex*9 + str*7)*k)", + "szSPCostPoly": "50+140*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "25", + "szMasterBonusPoly": "-(2*atk + (0.5*atk + dex*9 + str*7)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,ATTACK_POISON", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "40*k", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 34, + "szName": "wLrH/Ln9", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "30+60*k", + "szDurationPoly": "15+30*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "60", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "EUNHYUNG", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+60*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 35, + "szName": "u+qw+LrQ", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(lv*2+(atk + str*3 + dex*18)*k)", + "szSPCostPoly": "40+130*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "25", + "szMasterBonusPoly": "-(lv*2+(atk + str*3 + dex*18)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "60*k", + "szDurationPoly2": "5+25*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+130*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "0.5", + "dwTargetRange": 800, + "dwSplashRange": 200 + }, + { + "dwVnum": 46, + "szName": "v6y75w==", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + 0.3*atk*floor(2+k*6)+ (0.8*atk+dex*8*ar) *k)", + "szSPCostPoly": "40+130*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(atk + 0.2*atk*floor(2+k*6)+ (0.8*atk+dex*8*ar) *k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_ARROW_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+130*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "RANGE", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 2500, + "dwSplashRange": 0 + }, + { + "dwVnum": 47, + "szName": "sPyw3bz6", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + (1.9*atk + dex*2+ str*2)*k)", + "szSPCostPoly": "30+130*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-(atk + (1.7*atk + dex*2+ str*2)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_ARROW_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+130*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "RANGE", + "iMaxHit": 8, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 2500, + "dwSplashRange": 0 + }, + { + "dwVnum": 48, + "szName": "yK3BtsbE", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(1.5*atk + (2.8*atk + number(100, 300))*k)", + "szSPCostPoly": "50+130*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "25", + "szMasterBonusPoly": "-(1.5*atk + (2.6*atk + number(100, 300))*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SPLASH,USE_ARROW_DAMAGE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+130*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "RANGE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "0.6", + "dwTargetRange": 2500, + "dwSplashRange": 300 + }, + { + "dwVnum": 49, + "szName": "sOaw+Lz6", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "MOV_SPEED", + "szPointPoly": "60*k", + "szSPCostPoly": "30+40*k", + "szDurationPoly": "15+30*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "30+30*k", + "szMasterBonusPoly": "60*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "GYEONGGONG", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+40*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 50, + "szName": "tbax4rHD", + "bType": 2, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + (1.5*atk + number(100, 200)+dex*6+str*2)*k)", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "25", + "szMasterBonusPoly": "-(atk + (1.2*atk + number(100, 200)+dex*6+str*2)*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SPLASH,USE_ARROW_DAMAGE,CRUSH,ATTACK_POISON", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "80*k", + "szDurationPoly2": "15+30*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "RANGE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "0.5", + "dwTargetRange": 2500, + "dwSplashRange": 300 + }, + { + "dwVnum": 61, + "szName": "vOK3ycH2", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(atk + 2*lv + iq*2 + ( 2*atk + str*4 + iq*14) * k)", + "szSPCostPoly": "30+140*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "-(atk + 2*lv + iq*2 + ( 2*atk + str*4 + iq*14) * k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,PENETRATE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "1+k*9", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 4, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 62, + "szName": "v+uxx8bE", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(1.1 * atk + 2*lv + iq*2+(1.5*atk + str + iq*12) * k)", + "szSPCostPoly": "50+150*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(1.1 * atk + 2*lv + iq*2+(1.5*atk + str + iq*12) * k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TARGET_RATING", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "1+k*9", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+150*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 500 + }, + { + "dwVnum": 63, + "szName": "sc2wyw==", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "ATT_GRADE", + "szPointPoly": "(3 * iq + 2 * lv)*k", + "szSPCostPoly": "20+240*k", + "szDurationPoly": "50+100*k", + "szDurationSPCostPoly": "2+23*k", + "szCooldownPoly": "0", + "szMasterBonusPoly": "(3 * iq + 2 * lv)*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY,TOGGLE", + "setAffectFlag": "GWIGUM", + "szPointOn2": "HIT_HP_RECOVER", + "szPointPoly2": "10*k", + "szDurationPoly2": "50+80*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "20+240*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 64, + "szName": "sPjG9w==", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "DODGE", + "szPointPoly": "1 + 29 * k", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "60+100*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "100", + "szMasterBonusPoly": "1 + 29 * k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "TERROR", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 65, + "szName": "wda4trCp", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "DEF_GRADE", + "szPointPoly": "(iq+30)*k", + "szSPCostPoly": "70+170*k", + "szDurationPoly": "30+120*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "33+140*k", + "szMasterBonusPoly": "(iq+30)*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": "JUMAGAP", + "szPointOn2": "REFLECT_MELEE", + "szPointPoly2": "(iq/4+10)*k", + "szDurationPoly2": "30+120*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "70+170*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 66, + "szName": "xsS5/bz6", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(40 +5*lv + 2*iq+(10*iq + 7*mwep + number(50,100) )*ar*k)", + "szSPCostPoly": "30+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-(40 +5*lv + 2*iq+(10*iq + 7*mwep + number(50,100) )*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,REMOVE_GOOD_AFFECT", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "10+40*k", + "szDurationPoly2": "7+23*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "0.6", + "dwTargetRange": 1800, + "dwSplashRange": 200 + }, + { + "dwVnum": 76, + "szName": "uLa3yQ==", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(40 +5*lv + 2*iq +(13*iq + 6*mwep + number(50,100) )*ar*k)", + "szSPCostPoly": "30+140*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "7", + "szMasterBonusPoly": "-(40 +5*lv + 2*iq +(13*iq + 6*mwep + number(50,100) )*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "0.6", + "dwTargetRange": 1500, + "dwSplashRange": 200 + }, + { + "dwVnum": 77, + "szName": "yK2/sMb4", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(5*lv + 2*iq+(10*iq + 6*mwep + str*4 + con*2 + number(180,200) )*k)", + "szSPCostPoly": "60+140*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-(5*lv + 2*iq+(10*iq + 6*mwep + str*4 + con*2 + number(180,200) )*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SELFONLY,COMPUTE_MAGIC_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+140*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 15, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 500 + }, + { + "dwVnum": 78, + "szName": "uau/tcH4", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(30+ 2*lv + 2*iq+(7*iq + 6*mwep + number(200,500))*ar*k)", + "szSPCostPoly": "20+30*k", + "szDurationPoly": "40+30*k", + "szDurationSPCostPoly": "5+40*k", + "szCooldownPoly": "43+30*k", + "szMasterBonusPoly": "-(30+ 2*lv + 2*iq+(7*iq + 6*mwep + number(200,500))*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,TOGGLE", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "20+30*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 800, + "dwSplashRange": 0 + }, + { + "dwVnum": 79, + "szName": "yOa9xbz2yKM=", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "DEF_GRADE", + "szPointPoly": "(0.5*iq+15)*k", + "szSPCostPoly": "20+30*k", + "szDurationPoly": "60+120*k", + "szDurationSPCostPoly": "5+10*k", + "szCooldownPoly": "63+10*k", + "szMasterBonusPoly": "(0.5*iq+15)*k", + "szAttackGradePoly": "", + "setFlag": "SELFONLY,TOGGLE", + "setAffectFlag": "MANASHIELD", + "szPointOn2": "MANASHIELD", + "szPointPoly2": "100-((iq*0.84)*k)", + "szDurationPoly2": "60+10*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "20+30*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 80, + "szName": "xfW807i2t8k=", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(40 + 2* lv + 2*iq +(2 * con + 2 * dex + 13*iq + 6*mwep + number(180, 200))*ar*k)", + "szSPCostPoly": "40+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "-(40 + 2* lv + 2*iq +(2 * con + 2 * dex + 13*iq + 6*mwep + number(180, 200))*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,ATTACK_SLOW", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "333+300*k", + "szDurationPoly2": "10+10*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 9, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 1200, + "dwSplashRange": 400 + }, + { + "dwVnum": 81, + "szName": "uLbIr7Dd", + "bType": 3, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(120 + 6*lv + (5 * con + 5 * dex + 29*iq + 9*mwep)*ar*k)", + "szSPCostPoly": "80+220*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "24", + "szMasterBonusPoly": "-(120 + 6*lv + (5 * con + 5 * dex + 29*iq + 9*mwep)*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "80+220*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 9, + "szSplashAroundDamageAdjustPoly": "0.4", + "dwTargetRange": 1500, + "dwSplashRange": 200 + }, + { + "dwVnum": 91, + "szName": "uvHGxLrO", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(70 + 4*lv + (20*iq+5*mwep+50)*ar*k)", + "szSPCostPoly": "30+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "7", + "szMasterBonusPoly": "-(70 + 4*lv + (20*iq+5*mwep+50)*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "0.5", + "dwTargetRange": 1800, + "dwSplashRange": 201 + }, + { + "dwVnum": 92, + "szName": "v+vGxLvq", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(60 + 5*lv + (18*iq + 6*mwep + 120)*ar*k)", + "szSPCostPoly": "50+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "8", + "szMasterBonusPoly": "-(60 + 5*lv + (18*iq + 6*mwep + 120)*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,ATTACK_FIRE_CONT", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "lv+5*iq *k", + "szDurationPoly2": "iq*0.2*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 10, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 93, + "szName": "xtC35sb4", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(80 + 6*lv + (20*iq+14*mwep+120)*ar*k)", + "szSPCostPoly": "50+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "20", + "szMasterBonusPoly": "-(80 + 6*lv + (20*iq+14*mwep+120)*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SELFONLY,SPLASH,ATTACK_FIRE_CONT", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "lv+5*iq *k", + "szDurationPoly2": "iq*0.2*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 15, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 0, + "dwSplashRange": 500 + }, + { + "dwVnum": 94, + "szName": "yKO9xQ==", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "RESIST_NORMAL", + "szPointPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "60+200*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": "HOSIN", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 800, + "dwSplashRange": 0 + }, + { + "dwVnum": 95, + "szName": "ud275w==", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "REFLECT_MELEE", + "szPointPoly": "5+(iq*0.3 + 5)*k", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "60+200*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "5+(iq*0.3 + 5)*k", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": "BOHO", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 96, + "szName": "seLDtbTrsPg=", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "CRITICAL", + "szPointPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", + "szSPCostPoly": "40+160*k", + "szDurationPoly": "60+100*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "(iq*0.3+5)*(2*k+0.5)/(k+1.5)", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": "GICHEON", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+160*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 106, + "szName": "s/rA/LfJ", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(60 + 4*lv + (7*iq+8*mwep+number(iq*5,iq*15))*ar*k)", + "szSPCostPoly": "30+150*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "7", + "szMasterBonusPoly": "-(60 + 4*lv + (7*iq+8*mwep+number(iq*5,iq*15))*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "30+150*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "0.6", + "dwTargetRange": 1800, + "dwSplashRange": 200 + }, + { + "dwVnum": 107, + "szName": "uq229A==", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(40 + 4*lv + (13*iq+7*mwep+number(iq*5,iq*16))*ar*k)", + "szSPCostPoly": "50+150*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "-(40 + 4*lv + (13*iq+7*mwep+number(iq*5,iq*16))*ar*k)", + "szAttackGradePoly": "", + "setFlag": "ATTACK,SPLASH,ATTACK_STUN", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "50+1000*k/6", + "szDurationPoly2": "5", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "50+150*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 15, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 1500, + "dwSplashRange": 400 + }, + { + "dwVnum": 108, + "szName": "xvi32rDd", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-(50 + 5*lv + (6*iq+6*mwep+number(1,800))*ar*k) * (1-chain*0.13)", + "szSPCostPoly": "40+180*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "-(50 + 5*lv + (6*iq+6*mwep+number(1,800))*ar*k) * (1-chain*0.13)", + "szAttackGradePoly": "", + "setFlag": "ATTACK", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+180*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MAGIC", + "iMaxHit": 7, + "szSplashAroundDamageAdjustPoly": "0.8", + "dwTargetRange": 2500, + "dwSplashRange": 0 + }, + { + "dwVnum": 109, + "szName": "waS+98DO", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "200+7*lv+(30*iq+6*mwep+600)*k", + "szSPCostPoly": "40+200*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "200+7*lv+(30*iq+6*mwep+600)*k", + "szAttackGradePoly": "", + "setFlag": "REMOVE_BAD_AFFECT", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "20+80*k", + "szDurationPoly2": "0", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "40+200*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 110, + "szName": "xOi80w==", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "MOV_SPEED", + "szPointPoly": "5 + 35*k", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "60+100*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "5 + 35*k", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": "KWAESOK", + "szPointOn2": "CASTING_SPEED", + "szPointPoly2": "3+33*k", + "szDurationPoly2": "60+100*k", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 111, + "szName": "wfW3wrz6", + "bType": 4, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "ATT_GRADE", + "szPointPoly": "10+(iq*0.4 +20)*k", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "60+100*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "10+(iq*0.4 +30)*k", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": "JEUNGRYEOK", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "60+120*k", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 1, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 121, + "szName": "xeu81rfC", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 40, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 122, + "szName": "v6yw6LHi", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 2, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 124, + "szName": "w6SxpLz6", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 40, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 125, + "szName": "uq+9xQ==", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 40, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "10+1000*k", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": "YMIR", + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": "YMIR", + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 1000, + "dwSplashRange": 0 + }, + { + "dwVnum": 126, + "szName": "vcW89r7u", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 20, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 127, + "szName": "w7XBtr7u", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 20, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 128, + "szName": "wfiz677u", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 20, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 129, + "szName": "tdCwqbz6", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 40, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "NONE", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 130, + "szName": "vcK4tg==", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 131, + "szName": "uLu80siv", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 10, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "DISABLE_BY_POINT_UP", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 137, + "szName": "s625qw==", + "bType": 5, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 50, + "szPointOn": "HP", + "szPointPoly": "-(atk+(2*atk*k))", + "szSPCostPoly": "60+80*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "5-(4*k)", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 10, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 300, + "dwSplashRange": 0 + }, + { + "dwVnum": 138, + "szName": "tbmw3Q==", + "bType": 5, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 52, + "szPointOn": "HP", + "szPointPoly": "-(2.4*(200+1.5*lv)+(3*200*k))", + "szSPCostPoly": "60+120*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "15", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH_LONG", + "setAffectFlag": null, + "szPointOn2": "MOV_SPEED", + "szPointPoly2": "50", + "szDurationPoly2": "5", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 6, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 400, + "dwSplashRange": 100 + }, + { + "dwVnum": 139, + "szName": "xbvD4g==", + "bType": 5, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 55, + "szPointOn": "HP", + "szPointPoly": "-(2*(200+1.5*lv)+(3*200*k))", + "szSPCostPoly": "60+160*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "20", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 12, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 400, + "dwSplashRange": 250 + }, + { + "dwVnum": 140, + "szName": "s625qyjIsCk=", + "bType": 5, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 50, + "szPointOn": "HP", + "szPointPoly": "-(atk+(2*atk*k))", + "szSPCostPoly": "60+80*k", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_ARROW_DAMAGE,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": null, + "iMaxHit": 5, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 2500, + "dwSplashRange": 0 + }, + { + "dwVnum": 151, + "szName": "v+u+yA==", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 152, + "szName": "v+u9xcDHx8c=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "MAX_HP", + "szPointPoly": "maxhp*0.2*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "300", + "szDurationSPCostPoly": "", + "szCooldownPoly": "600", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 153, + "szName": "v+u9xcDHw+C6uQ==", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "MAX_SP", + "szPointPoly": "maxsp*0.2*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "300", + "szDurationSPCostPoly": "", + "szCooldownPoly": "600", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 154, + "szName": "vLrI1rCp", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "DEF_GRADE", + "szPointPoly": "odef*0.1*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "180", + "szDurationSPCostPoly": "", + "szCooldownPoly": "480", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 155, + "szName": "sKG808it", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "MOV_SPEED", + "szPointPoly": "15*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "180", + "szDurationSPCostPoly": "", + "szCooldownPoly": "480", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "ATT_SPEED", + "szPointPoly2": "15*k", + "szDurationPoly2": "180", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 156, + "szName": "v+u9xcDHutCz6w==", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "CRITICAL", + "szPointPoly": "50*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "180", + "szDurationSPCostPoly": "", + "szCooldownPoly": "480", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 157, + "szName": "wda5rrz6", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 7, + "bLevelLimit": 0, + "szPointOn": "CASTING_SPEED", + "szPointPoly": "50*k", + "szSPCostPoly": "150+150*k", + "szDurationPoly": "180", + "szDurationSPCostPoly": "", + "szCooldownPoly": "480", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 158, + "szName": "sea15cDMtb8=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 3, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 159, + "szName": "sPiwo8DHua4=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 5, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 160, + "szName": "sKG808it", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 5, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "3*k", + "szSPCostPoly": "80-12*k", + "szDurationPoly": "300", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "SELFONLY", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 161, + "szName": "sPiwo8DHua4=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 2, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "50", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 162, + "szName": "sPiwo8DMtb8=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 2, + "bLevelLimit": 0, + "szPointOn": "NONE", + "szPointPoly": "", + "szSPCostPoly": "20", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "NORMAL", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 0 + }, + { + "dwVnum": 256, + "szName": "Q1JVU0gyMDC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "4", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 300 + }, + { + "dwVnum": 257, + "szName": "wM+53bn8wKczNTC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "6", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 525 + }, + { + "dwVnum": 258, + "szName": "Q1JVU0gzMDC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "8", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 450 + }, + { + "dwVnum": 259, + "szName": "wM+53bn8wKcyMDC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 300 + }, + { + "dwVnum": 260, + "szName": "Q1VSU0g0MDC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "12", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 600 + }, + { + "dwVnum": 261, + "szName": "tbYyNTC9usWz", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "10", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON", + "setAffectFlag": null, + "szPointOn2": "NONE", + "szPointPoly2": "80", + "szDurationPoly2": "", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 375 + }, + { + "dwVnum": 262, + "szName": "U0xPVzMwML26xbM=", + "bType": 0, + "bLevelStep": 1, + "bMaxLevel": 1, + "bLevelLimit": 0, + "szPointOn": "HP", + "szPointPoly": "-5*k*atk", + "szSPCostPoly": "", + "szDurationPoly": "", + "szDurationSPCostPoly": "", + "szCooldownPoly": "14", + "szMasterBonusPoly": "", + "szAttackGradePoly": "", + "setFlag": "ATTACK,USE_MELEE_DAMAGE,SPLASH", + "setAffectFlag": null, + "szPointOn2": "MOV_SPEED", + "szPointPoly2": "-20", + "szDurationPoly2": "10", + "setAffectFlag2": null, + "szPointOn3": "", + "szPointPoly3": "", + "szDurationPoly3": "", + "szGrandMasterAddSPCostPoly": "", + "prerequisiteSkillVnum": 0, + "prerequisiteSkillLevel": 0, + "eSkillType": "MELEE", + "iMaxHit": 0, + "szSplashAroundDamageAdjustPoly": "1", + "dwTargetRange": 0, + "dwSplashRange": 450 + } +] diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000001_create_failed_jobs_table.php similarity index 100% rename from database/migrations/2019_08_19_000000_create_failed_jobs_table.php rename to database/migrations/2019_08_19_000001_create_failed_jobs_table.php diff --git a/database/migrations/2024_03_30_000000_create_account_account_table.php b/database/migrations/2024_03_30_000000_create_account_account_table.php deleted file mode 100644 index 275112d..0000000 --- a/database/migrations/2024_03_30_000000_create_account_account_table.php +++ /dev/null @@ -1,49 +0,0 @@ -create('account', function (Blueprint $table) { - $table->integer('id', true); - $table->string('login', 30)->default('')->unique('login'); - $table->text('password')->default(''); - $table->string('social_id', 13)->default('')->index('social_id'); - $table->string('email', 64)->default(''); - $table->dateTime('create_time')->default('0000-00-00 00:00:00'); - $table->string('status', 8)->default('OK'); - $table->string('securitycode', 192)->nullable()->default(''); - $table->dateTime('availDt')->default('0000-00-00 00:00:00'); - $table->integer('mileage')->default(0); - $table->integer('cash')->default(0); - $table->dateTime('gold_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('silver_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('safebox_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('autoloot_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('fish_mind_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('marriage_fast_expire')->default('0000-00-00 00:00:00'); - $table->dateTime('money_drop_rate_expire')->default('0000-00-00 00:00:00'); - $table->string('ip')->nullable(); - $table->dateTime('last_play'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('account')->dropIfExists('account'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_cube_table.php b/database/migrations/2024_03_30_000000_create_log_cube_table.php deleted file mode 100644 index bbc5bc6..0000000 --- a/database/migrations/2024_03_30_000000_create_log_cube_table.php +++ /dev/null @@ -1,38 +0,0 @@ -create('cube', function (Blueprint $table) { - $table->increments('id'); - $table->unsignedInteger('pid')->default(0)->index('pid'); - $table->dateTime('time')->default('0000-00-00 00:00:00'); - $table->unsignedInteger('x')->default(0); - $table->unsignedInteger('y')->default(0); - $table->unsignedInteger('item_vnum')->default(0)->index('item_vnum'); - $table->unsignedInteger('item_uid')->default(0)->index('item_uid'); - $table->unsignedInteger('item_count')->default(0); - $table->boolean('success')->default(false); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('cube'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_hack_crc_log_table.php b/database/migrations/2024_03_30_000000_create_log_hack_crc_log_table.php deleted file mode 100644 index 55d6b54..0000000 --- a/database/migrations/2024_03_30_000000_create_log_hack_crc_log_table.php +++ /dev/null @@ -1,36 +0,0 @@ -create('hack_crc_log', function (Blueprint $table) { - $table->dateTime('time')->default('0000-00-00 00:00:00'); - $table->char('login', 16)->default(''); - $table->char('name', 24)->default(''); - $table->char('ip', 15)->default(''); - $table->char('server', 100)->default(''); - $table->char('why')->default(''); - $table->integer('crc')->default(0); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('hack_crc_log'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_hack_log_table.php b/database/migrations/2024_03_30_000000_create_log_hack_log_table.php deleted file mode 100644 index 78f7642..0000000 --- a/database/migrations/2024_03_30_000000_create_log_hack_log_table.php +++ /dev/null @@ -1,35 +0,0 @@ -create('hack_log', function (Blueprint $table) { - $table->dateTime('time')->default('0000-00-00 00:00:00'); - $table->char('login', 16)->default(''); - $table->char('name', 24)->default(''); - $table->char('ip', 15)->default(''); - $table->char('server', 100)->default(''); - $table->char('why')->default(''); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('hack_log'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_hackshield_log_table.php b/database/migrations/2024_03_30_000000_create_log_hackshield_log_table.php deleted file mode 100644 index 636e74c..0000000 --- a/database/migrations/2024_03_30_000000_create_log_hackshield_log_table.php +++ /dev/null @@ -1,35 +0,0 @@ -create('hackshield_log', function (Blueprint $table) { - $table->unsignedInteger('pid')->default(0); - $table->string('login', 32)->nullable(); - $table->unsignedInteger('account_id'); - $table->string('name', 25)->nullable(); - $table->dateTime('time')->default('0000-00-00 00:00:00'); - $table->string('reason', 25)->nullable(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('hackshield_log'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_loginlog_table.php b/database/migrations/2024_03_30_000000_create_log_loginlog_table.php deleted file mode 100644 index 4eacf4e..0000000 --- a/database/migrations/2024_03_30_000000_create_log_loginlog_table.php +++ /dev/null @@ -1,39 +0,0 @@ -create('loginlog', function (Blueprint $table) { - $table->enum('type', ['LOGIN', 'LOGOUT'])->nullable(); - $table->dateTime('time')->nullable(); - $table->tinyInteger('channel')->nullable(); - $table->unsignedInteger('account_id')->nullable(); - $table->unsignedInteger('pid')->nullable(); - $table->smallInteger('level')->nullable(); - $table->tinyInteger('job')->nullable(); - $table->unsignedInteger('playtime')->nullable(); - - $table->index(['pid', 'type'], 'pid'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('loginlog'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_log_playercount_table.php b/database/migrations/2024_03_30_000000_create_log_playercount_table.php deleted file mode 100644 index e8b90e6..0000000 --- a/database/migrations/2024_03_30_000000_create_log_playercount_table.php +++ /dev/null @@ -1,34 +0,0 @@ -create('playercount', function (Blueprint $table) { - $table->dateTime('date')->nullable(); - $table->integer('count_red')->nullable(); - $table->integer('count_yellow')->nullable(); - $table->integer('count_blue')->nullable(); - $table->integer('count_total')->nullable(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('log')->dropIfExists('playercount'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_war_bet_table.php b/database/migrations/2024_03_30_000000_create_player_guild_war_bet_table.php deleted file mode 100644 index 44afa86..0000000 --- a/database/migrations/2024_03_30_000000_create_player_guild_war_bet_table.php +++ /dev/null @@ -1,35 +0,0 @@ -create('guild_war_bet', function (Blueprint $table) { - $table->string('login', 24)->default(''); - $table->unsignedInteger('gold')->default(0); - $table->integer('guild')->default(0); - $table->unsignedInteger('war_id')->default(0); - - $table->primary(['war_id', 'login']); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('player')->dropIfExists('guild_war_bet'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_player_monarch_election_table.php b/database/migrations/2024_03_30_000000_create_player_monarch_election_table.php deleted file mode 100644 index e88f4f1..0000000 --- a/database/migrations/2024_03_30_000000_create_player_monarch_election_table.php +++ /dev/null @@ -1,32 +0,0 @@ -create('monarch_election', function (Blueprint $table) { - $table->unsignedInteger('pid')->default(0)->primary(); - $table->unsignedInteger('selectedpid')->nullable()->default(0); - $table->dateTime('electiondata')->nullable()->default('0000-00-00 00:00:00'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('player')->dropIfExists('monarch_election'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_player_monarch_table.php b/database/migrations/2024_03_30_000000_create_player_monarch_table.php deleted file mode 100644 index 9b2e37e..0000000 --- a/database/migrations/2024_03_30_000000_create_player_monarch_table.php +++ /dev/null @@ -1,33 +0,0 @@ -create('monarch', function (Blueprint $table) { - $table->unsignedInteger('empire')->default(0)->primary(); - $table->unsignedInteger('pid')->nullable(); - $table->dateTime('windate')->nullable(); - $table->unsignedBigInteger('money')->nullable(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('player')->dropIfExists('monarch'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_player_object_table.php b/database/migrations/2024_03_30_000000_create_player_object_table.php deleted file mode 100644 index 9cbb46b..0000000 --- a/database/migrations/2024_03_30_000000_create_player_object_table.php +++ /dev/null @@ -1,39 +0,0 @@ -create('object', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('land_id')->default(0); - $table->unsignedInteger('vnum')->default(0); - $table->integer('map_index')->default(0); - $table->integer('x')->default(0); - $table->integer('y')->default(0); - $table->float('x_rot', null, 0)->default(0); - $table->float('y_rot', null, 0)->default(0); - $table->float('z_rot', null, 0)->default(0); - $table->integer('life')->default(0); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('player')->dropIfExists('object'); - } -}; diff --git a/database/migrations/2024_03_30_000000_create_player_player_index_table.php b/database/migrations/2024_03_30_000000_create_player_player_index_table.php deleted file mode 100644 index 3ab6aa2..0000000 --- a/database/migrations/2024_03_30_000000_create_player_player_index_table.php +++ /dev/null @@ -1,35 +0,0 @@ -create('player_index', function (Blueprint $table) { - $table->integer('id')->default(0)->primary(); - $table->integer('pid1')->default(0)->index('pid1_key'); - $table->integer('pid2')->default(0)->index('pid2_key'); - $table->integer('pid3')->default(0)->index('pid3_key'); - $table->integer('pid4')->default(0)->index('pid4_key'); - $table->tinyInteger('empire')->default(0); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::connection('player')->dropIfExists('player_index'); - } -}; diff --git a/database/migrations/2024_03_30_000002_create_account_table.php b/database/migrations/2024_03_30_000002_create_account_table.php new file mode 100644 index 0000000..368d956 --- /dev/null +++ b/database/migrations/2024_03_30_000002_create_account_table.php @@ -0,0 +1,49 @@ +unsignedInteger('id', true)->primary(); + $table->string('login', 30)->unique('login'); + $table->text('password'); + $table->string('social_id', 13)->default('')->index('social_id'); + $table->string('email', 64); + $table->dateTime('create_time')->useCurrent(); + $table->string('status', 8)->default('OK'); + $table->string('securitycode', 192)->nullable(); + $table->dateTime('availDt')->useCurrent(); + $table->integer('mileage')->default(0); + $table->integer('cash')->default(0); + $table->dateTime('gold_expire')->useCurrent(); + $table->dateTime('silver_expire')->useCurrent(); + $table->dateTime('safebox_expire')->useCurrent(); + $table->dateTime('autoloot_expire')->useCurrent(); + $table->dateTime('fish_mind_expire')->useCurrent(); + $table->dateTime('marriage_fast_expire')->useCurrent(); + $table->dateTime('money_drop_rate_expire')->useCurrent(); + $table->string('ip')->nullable(); + $table->dateTime('last_play')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('account'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_player_player_table.php b/database/migrations/2024_03_30_000003_create_player_table.php similarity index 84% rename from database/migrations/2024_03_30_000000_create_player_player_table.php rename to database/migrations/2024_03_30_000003_create_player_table.php index ee6ea2c..0289c93 100644 --- a/database/migrations/2024_03_30_000000_create_player_player_table.php +++ b/database/migrations/2024_03_30_000003_create_player_table.php @@ -13,12 +13,12 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('player', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('account_id')->default(0)->index('account_id_idx'); - $table->string('name', 24)->default('NONAME')->index('name_idx'); - $table->unsignedTinyInteger('job')->default(0); - $table->boolean('voice')->unsigned()->default(false); + Schema::create('player', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->unsignedInteger('account_id'); + $table->string('name', 24)->default('Noname')->index('name_idx'); + $table->unsignedTinyInteger('job'); + $table->boolean('voice')->default(false); $table->tinyInteger('dir')->default(0); $table->integer('x')->default(0); $table->integer('y')->default(0); @@ -51,7 +51,7 @@ return new class extends Migration $table->tinyInteger('skill_group')->default(0); $table->binary('skill_level')->nullable(); $table->integer('alignment')->default(0); - $table->dateTime('last_play')->default('0000-00-00 00:00:00'); + $table->dateTime('last_play')->useCurrent(); $table->boolean('change_name')->default(false); $table->smallInteger('sub_skill_point')->default(0); $table->tinyInteger('stat_reset_count')->default(0); @@ -62,6 +62,8 @@ return new class extends Migration $table->boolean('horse_riding')->default(false); $table->smallInteger('horse_skill_point')->default(0); $table->integer('bank_value')->default(0); + + $table->foreign('account_id')->references('id')->on('account'); }); } @@ -72,6 +74,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('player'); + Schema::dropIfExists('player'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_table.php b/database/migrations/2024_03_30_000004_create_guild_table.php similarity index 68% rename from database/migrations/2024_03_30_000000_create_player_guild_table.php rename to database/migrations/2024_03_30_000004_create_guild_table.php index 8cf7c24..bf38852 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_table.php +++ b/database/migrations/2024_03_30_000004_create_guild_table.php @@ -13,15 +13,15 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild', function (Blueprint $table) { - $table->increments('id'); - $table->string('name', 12)->default(''); + Schema::create('guild', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->string('name', 12); $table->smallInteger('sp')->default(1000); $table->unsignedInteger('master')->default(0); - $table->tinyInteger('level')->nullable(); - $table->integer('exp')->nullable(); + $table->tinyInteger('level'); + $table->integer('exp'); $table->tinyInteger('skill_point')->default(0); - $table->binary('skill')->nullable(); + $table->binary('skill'); $table->integer('win')->default(0); $table->integer('draw')->default(0); $table->integer('loss')->default(0); @@ -37,6 +37,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild'); + Schema::dropIfExists('guild'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_affect_table.php b/database/migrations/2024_03_30_000005_create_affect_table.php similarity index 82% rename from database/migrations/2024_03_30_000000_create_player_affect_table.php rename to database/migrations/2024_03_30_000005_create_affect_table.php index 7a94fb3..e7ee901 100644 --- a/database/migrations/2024_03_30_000000_create_player_affect_table.php +++ b/database/migrations/2024_03_30_000005_create_affect_table.php @@ -13,7 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('affect', function (Blueprint $table) { + // TODO Check dwPID as it's the only one that might be related to something + Schema::create('affect', function (Blueprint $table) { $table->unsignedInteger('dwPID')->default(0); $table->unsignedSmallInteger('bType')->default(0); $table->unsignedTinyInteger('bApplyOn')->default(0); @@ -33,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('affect'); + Schema::dropIfExists('affect'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_banword_table.php b/database/migrations/2024_03_30_000006_create_banword_table.php similarity index 73% rename from database/migrations/2024_03_30_000000_create_player_banword_table.php rename to database/migrations/2024_03_30_000006_create_banword_table.php index e45e630..28b207b 100644 --- a/database/migrations/2024_03_30_000000_create_player_banword_table.php +++ b/database/migrations/2024_03_30_000006_create_banword_table.php @@ -14,8 +14,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('banword', function (Blueprint $table) { - $table->binary('word', length: 24)->default('')->primary(); + Schema::create('banword', function (Blueprint $table) { + $table->binary('word', length: 24)->primary(); }); // Populate the table data @@ -30,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('banword'); + Schema::dropIfExists('banword'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_bootlog_table.php b/database/migrations/2024_03_30_000007_create_bootlog_table.php similarity index 71% rename from database/migrations/2024_03_30_000000_create_log_bootlog_table.php rename to database/migrations/2024_03_30_000007_create_bootlog_table.php index 33296d8..29c13ee 100644 --- a/database/migrations/2024_03_30_000000_create_log_bootlog_table.php +++ b/database/migrations/2024_03_30_000007_create_bootlog_table.php @@ -13,8 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('bootlog', function (Blueprint $table) { - $table->dateTime('time')->default('0000-00-00 00:00:00'); + Schema::create('bootlog', function (Blueprint $table) { + $table->dateTime('time')->useCurrent(); $table->char('hostname', 128)->default('UNKNOWN'); $table->boolean('channel')->default(false); }); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('bootlog'); + Schema::dropIfExists('bootlog'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_change_empire_table.php b/database/migrations/2024_03_30_000008_create_change_empire_table.php similarity index 68% rename from database/migrations/2024_03_30_000000_create_player_change_empire_table.php rename to database/migrations/2024_03_30_000008_create_change_empire_table.php index 44d07ff..c82311a 100644 --- a/database/migrations/2024_03_30_000000_create_player_change_empire_table.php +++ b/database/migrations/2024_03_30_000008_create_change_empire_table.php @@ -13,10 +13,12 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('change_empire', function (Blueprint $table) { - $table->integer('account_id')->default(0)->primary(); + Schema::create('change_empire', function (Blueprint $table) { + $table->unsignedInteger('account_id'); $table->tinyInteger('change_count')->nullable(); $table->dateTime('timestamp')->nullable(); + + $table->foreign('account_id')->references('id')->on('account'); }); } @@ -27,6 +29,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('change_empire'); + Schema::dropIfExists('change_empire'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_change_name_table.php b/database/migrations/2024_03_30_000009_create_change_name_table.php similarity index 73% rename from database/migrations/2024_03_30_000000_create_log_change_name_table.php rename to database/migrations/2024_03_30_000009_create_change_name_table.php index 272be0e..9539f90 100644 --- a/database/migrations/2024_03_30_000000_create_log_change_name_table.php +++ b/database/migrations/2024_03_30_000009_create_change_name_table.php @@ -13,12 +13,14 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('change_name', function (Blueprint $table) { - $table->integer('pid')->nullable(); + Schema::create('change_name', function (Blueprint $table) { + $table->unsignedInteger('pid'); $table->string('old_name')->nullable(); $table->string('new_name')->nullable(); $table->dateTime('time')->nullable(); $table->string('ip', 20)->nullable(); + + $table->foreign('pid')->references('id')->on('player'); }); } @@ -29,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('change_name'); + Schema::dropIfExists('change_name'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_command_log_table.php b/database/migrations/2024_03_30_000010_create_command_log_table.php similarity index 51% rename from database/migrations/2024_03_30_000000_create_log_command_log_table.php rename to database/migrations/2024_03_30_000010_create_command_log_table.php index 10ed26e..93ff8e9 100644 --- a/database/migrations/2024_03_30_000000_create_log_command_log_table.php +++ b/database/migrations/2024_03_30_000010_create_command_log_table.php @@ -13,15 +13,17 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('command_log', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('userid')->default(0); - $table->integer('server')->default(0); - $table->string('ip', 15)->default(''); + Schema::create('command_log', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->unsignedInteger('userid'); + $table->integer('server'); + $table->string('ip', 15); $table->integer('port')->default(0); - $table->string('username', 50)->default(''); + $table->string('username', 50); $table->text('command'); - $table->dateTime('date')->default('0000-00-00 00:00:00'); + $table->dateTime('date')->useCurrent(); + + $table->foreign('userid')->references('id')->on('player'); }); } @@ -32,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('command_log'); + Schema::dropIfExists('command_log'); } }; diff --git a/database/migrations/2024_03_30_000011_create_cube_table.php b/database/migrations/2024_03_30_000011_create_cube_table.php new file mode 100644 index 0000000..876fdb1 --- /dev/null +++ b/database/migrations/2024_03_30_000011_create_cube_table.php @@ -0,0 +1,41 @@ +increments('id'); + $table->unsignedInteger('pid'); + $table->dateTime('time')->useCurrent(); + $table->unsignedInteger('x'); + $table->unsignedInteger('y'); + // Can't reference due to item_proto being reloaded + $table->unsignedInteger('item_vnum')->index('item_vnum'); + $table->unsignedInteger('item_uid')->index('item_uid'); + $table->unsignedInteger('item_count'); + $table->boolean('success')->default(false); + + $table->foreign('pid')->references('id')->on('player'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('cube'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_log_dragon_slay_log_table.php b/database/migrations/2024_03_30_000012_create_dragon_slay_log_table.php similarity index 61% rename from database/migrations/2024_03_30_000000_create_log_dragon_slay_log_table.php rename to database/migrations/2024_03_30_000012_create_dragon_slay_log_table.php index 364ce0d..3efb105 100644 --- a/database/migrations/2024_03_30_000000_create_log_dragon_slay_log_table.php +++ b/database/migrations/2024_03_30_000012_create_dragon_slay_log_table.php @@ -13,11 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('dragon_slay_log', function (Blueprint $table) { + Schema::create('dragon_slay_log', function (Blueprint $table) { $table->unsignedInteger('guild_id'); $table->unsignedInteger('vnum'); - $table->timestamp('start_time')->default('0000-00-00 00:00:00'); - $table->timestamp('end_time')->default('0000-00-00 00:00:00'); + $table->timestamp('start_time')->useCurrent(); + $table->timestamp('end_time')->useCurrent(); + + $table->foreign('guild_id')->references('id')->on('guild'); }); } @@ -28,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('dragon_slay_log'); + Schema::dropIfExists('dragon_slay_log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_fish_log_table.php b/database/migrations/2024_03_30_000013_create_fish_log_table.php similarity index 50% rename from database/migrations/2024_03_30_000000_create_log_fish_log_table.php rename to database/migrations/2024_03_30_000013_create_fish_log_table.php index e21c608..25092d8 100644 --- a/database/migrations/2024_03_30_000000_create_log_fish_log_table.php +++ b/database/migrations/2024_03_30_000013_create_fish_log_table.php @@ -13,15 +13,17 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('fish_log', function (Blueprint $table) { - $table->dateTime('time')->default('0000-00-00 00:00:00'); - $table->unsignedInteger('player_id')->default(0); + Schema::create('fish_log', function (Blueprint $table) { + $table->dateTime('time')->useCurrent(); + $table->unsignedInteger('player_id'); $table->tinyInteger('map_index')->default(0); - $table->unsignedInteger('fish_id')->default(0); - $table->integer('fishing_level')->default(0); - $table->integer('waiting_time')->default(0); - $table->tinyInteger('success')->default(0); + $table->unsignedInteger('fish_id')->index('fish_id'); + $table->integer('fishing_level'); + $table->integer('waiting_time'); + $table->boolean('success')->default(false); $table->smallInteger('size')->default(0); + + $table->foreign('player_id')->references('id')->on('player'); }); } @@ -32,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('fish_log'); + Schema::dropIfExists('fish_log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_common_gmhost_table.php b/database/migrations/2024_03_30_000014_create_gmhost_table.php similarity index 67% rename from database/migrations/2024_03_30_000000_create_common_gmhost_table.php rename to database/migrations/2024_03_30_000014_create_gmhost_table.php index 7f44bca..8d7e98f 100644 --- a/database/migrations/2024_03_30_000000_create_common_gmhost_table.php +++ b/database/migrations/2024_03_30_000014_create_gmhost_table.php @@ -13,8 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('common')->create('gmhost', function (Blueprint $table) { - $table->string('mIP', 16)->default(''); + Schema::create('gmhost', function (Blueprint $table) { + $table->string('mIP', 16); }); } @@ -25,6 +25,6 @@ return new class extends Migration */ public function down() { - Schema::connection('common')->dropIfExists('gmhost'); + Schema::dropIfExists('gmhost'); } }; diff --git a/database/migrations/2024_03_30_000000_create_common_gmlist_table.php b/database/migrations/2024_03_30_000015_create_gmlist_table.php similarity index 60% rename from database/migrations/2024_03_30_000000_create_common_gmlist_table.php rename to database/migrations/2024_03_30_000015_create_gmlist_table.php index a4c2f9c..c60fc83 100644 --- a/database/migrations/2024_03_30_000000_create_common_gmlist_table.php +++ b/database/migrations/2024_03_30_000015_create_gmlist_table.php @@ -13,13 +13,16 @@ return new class extends Migration */ public function up() { - Schema::connection('common')->create('gmlist', function (Blueprint $table) { + Schema::create('gmlist', function (Blueprint $table) { $table->increments('mID'); - $table->string('mAccount', 32)->default(''); - $table->string('mName', 32)->default(''); - $table->string('mContactIP', 16)->default(''); + $table->string('mAccount', 30); + $table->string('mName', 32); + $table->string('mContactIP', 16)->default('0.0.0.0'); $table->string('mServerIP', 16)->default('ALL'); $table->enum('mAuthority', ['IMPLEMENTOR', 'HIGH_WIZARD', 'GOD', 'LOW_WIZARD', 'PLAYER'])->nullable()->default('PLAYER'); + + $table->foreign('mAccount')->references('login')->on('account'); + $table->foreign('mName')->references('name')->on('player')->cascadeOnUpdate(); }); } @@ -30,6 +33,6 @@ return new class extends Migration */ public function down() { - Schema::connection('common')->dropIfExists('gmlist'); + Schema::dropIfExists('gmlist'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_goldlog_table.php b/database/migrations/2024_03_30_000016_create_goldlog_table.php similarity index 70% rename from database/migrations/2024_03_30_000000_create_log_goldlog_table.php rename to database/migrations/2024_03_30_000016_create_goldlog_table.php index 761a936..dd7b7fd 100644 --- a/database/migrations/2024_03_30_000000_create_log_goldlog_table.php +++ b/database/migrations/2024_03_30_000016_create_goldlog_table.php @@ -13,13 +13,16 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('goldlog', function (Blueprint $table) { + Schema::create('goldlog', function (Blueprint $table) { + // TODO Using strings here is weird $table->string('date', 10)->default('0000-00-00')->index('date_idx'); $table->string('time', 8)->default('00:00:00'); - $table->unsignedInteger('pid')->default(0)->index('pid_idx'); - $table->integer('what')->default(0)->index('what_idx'); + $table->unsignedInteger('pid'); + $table->integer('what')->index('what_idx'); $table->set('how', ['BUY', 'SELL', 'SHOP_SELL', 'SHOP_BUY', 'EXCHANGE_TAKE', 'EXCHANGE_GIVE', 'QUEST'])->nullable()->index('how_idx'); $table->string('hint', 50)->nullable(); + + $table->foreign('pid')->references('id')->on('player'); }); } @@ -30,6 +33,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('goldlog'); + Schema::dropIfExists('goldlog'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_comment_table.php b/database/migrations/2024_03_30_000017_create_guild_comment_table.php similarity index 65% rename from database/migrations/2024_03_30_000000_create_player_guild_comment_table.php rename to database/migrations/2024_03_30_000017_create_guild_comment_table.php index 26750bd..768da63 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_comment_table.php +++ b/database/migrations/2024_03_30_000017_create_guild_comment_table.php @@ -13,15 +13,17 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild_comment', function (Blueprint $table) { - $table->integer('id', true); - $table->unsignedInteger('guild_id')->nullable()->index('guild_id'); + // TODO Source doesn't seem like it is working + Schema::create('guild_comment', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->unsignedInteger('guild_id'); $table->string('name', 8)->nullable(); $table->tinyInteger('notice')->nullable(); $table->string('content', 50)->nullable(); $table->dateTime('time')->nullable(); $table->index(['notice', 'id', 'guild_id'], 'aaa'); + $table->foreign('guild_id')->references('id')->on('guild'); }); } @@ -32,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild_comment'); + Schema::dropIfExists('guild_comment'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_grade_table.php b/database/migrations/2024_03_30_000018_create_guild_grade_table.php similarity index 64% rename from database/migrations/2024_03_30_000000_create_player_guild_grade_table.php rename to database/migrations/2024_03_30_000018_create_guild_grade_table.php index 80406cf..f1ddd1a 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_grade_table.php +++ b/database/migrations/2024_03_30_000018_create_guild_grade_table.php @@ -13,13 +13,14 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild_grade', function (Blueprint $table) { - $table->integer('guild_id')->default(0); - $table->tinyInteger('grade')->default(0); - $table->string('name', 8)->default(''); + Schema::create('guild_grade', function (Blueprint $table) { + $table->unsignedInteger('guild_id'); + $table->tinyInteger('grade'); + $table->string('name', 8); $table->set('auth', ['ADD_MEMBER', 'REMOVE_MEMEBER', 'NOTICE', 'USE_SKILL'])->nullable(); $table->primary(['guild_id', 'grade']); + $table->foreign('guild_id')->references('id')->on('guild'); }); } @@ -30,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild_grade'); + Schema::dropIfExists('guild_grade'); } }; diff --git a/database/migrations/2024_03_30_000000_create_website_guild_highscore_cache_table.php b/database/migrations/2024_03_30_000019_create_guild_highscore_cache_table.php similarity index 73% rename from database/migrations/2024_03_30_000000_create_website_guild_highscore_cache_table.php rename to database/migrations/2024_03_30_000019_create_guild_highscore_cache_table.php index bc4167e..0d13797 100644 --- a/database/migrations/2024_03_30_000000_create_website_guild_highscore_cache_table.php +++ b/database/migrations/2024_03_30_000019_create_guild_highscore_cache_table.php @@ -11,8 +11,8 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('guild_highscore_cache', function (Blueprint $table) { - $table->bigInteger('id', true); + Schema::create('guild_highscore_cache', function (Blueprint $table) { + $table->id(); $table->text('name'); $table->text('master'); $table->integer('empire'); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('guild_highscore_cache'); + Schema::dropIfExists('guild_highscore_cache'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_member_table.php b/database/migrations/2024_03_30_000020_create_guild_member_table.php similarity index 54% rename from database/migrations/2024_03_30_000000_create_player_guild_member_table.php rename to database/migrations/2024_03_30_000020_create_guild_member_table.php index 7390286..320d9ad 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_member_table.php +++ b/database/migrations/2024_03_30_000020_create_guild_member_table.php @@ -13,14 +13,16 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild_member', function (Blueprint $table) { - $table->unsignedInteger('pid')->default(0)->unique('pid'); - $table->unsignedInteger('guild_id')->default(0); - $table->tinyInteger('grade')->nullable(); + Schema::create('guild_member', function (Blueprint $table) { + $table->unsignedInteger('pid'); + $table->unsignedInteger('guild_id'); + $table->tinyInteger('grade'); $table->boolean('is_general')->default(false); - $table->unsignedInteger('offer')->nullable(); + $table->unsignedInteger('offer'); $table->primary(['guild_id', 'pid']); + $table->foreign('pid')->references('id')->on('player'); + $table->foreign('guild_id')->references('id')->on('guild'); }); } @@ -31,6 +33,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild_member'); + Schema::dropIfExists('guild_member'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_war_table.php b/database/migrations/2024_03_30_000021_player_guild_war_table.php similarity index 64% rename from database/migrations/2024_03_30_000000_create_player_guild_war_table.php rename to database/migrations/2024_03_30_000021_player_guild_war_table.php index cbf21c3..91c3c18 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_war_table.php +++ b/database/migrations/2024_03_30_000021_player_guild_war_table.php @@ -13,9 +13,10 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild_war', function (Blueprint $table) { - $table->integer('id_from')->default(0); - $table->integer('id_to')->default(0); + // TODO Check + Schema::create('guild_war', function (Blueprint $table) { + $table->unsignedInteger('id_from')->default(0); + $table->unsignedInteger('id_to')->default(0); $table->primary(['id_from', 'id_to']); }); @@ -28,6 +29,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild_war'); + Schema::dropIfExists('guild_war'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_guild_war_reservation_table.php b/database/migrations/2024_03_30_000022_create_guild_war_reservation_table.php similarity index 72% rename from database/migrations/2024_03_30_000000_create_player_guild_war_reservation_table.php rename to database/migrations/2024_03_30_000022_create_guild_war_reservation_table.php index 1097e04..76774e0 100644 --- a/database/migrations/2024_03_30_000000_create_player_guild_war_reservation_table.php +++ b/database/migrations/2024_03_30_000022_create_guild_war_reservation_table.php @@ -13,11 +13,11 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('guild_war_reservation', function (Blueprint $table) { + Schema::create('guild_war_reservation', function (Blueprint $table) { $table->increments('id'); - $table->unsignedInteger('guild1')->default(0); - $table->unsignedInteger('guild2')->default(0); - $table->dateTime('time')->default('0000-00-00 00:00:00'); + $table->unsignedInteger('guild1'); + $table->unsignedInteger('guild2'); + $table->dateTime('time')->useCurrent(); $table->unsignedTinyInteger('type')->default(0); $table->unsignedInteger('warprice')->default(0); $table->unsignedInteger('initscore')->default(0); @@ -30,6 +30,9 @@ return new class extends Migration $table->integer('handicap')->default(0); $table->integer('result1')->default(0); $table->integer('result2')->default(0); + + $table->foreign('guild1')->references('id')->on('guild'); + $table->foreign('guild2')->references('id')->on('guild'); }); } @@ -40,6 +43,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('guild_war_reservation'); + Schema::dropIfExists('guild_war_reservation'); } }; diff --git a/database/migrations/2024_03_30_000023_create_guild_war_bet_table.php b/database/migrations/2024_03_30_000023_create_guild_war_bet_table.php new file mode 100644 index 0000000..574b06f --- /dev/null +++ b/database/migrations/2024_03_30_000023_create_guild_war_bet_table.php @@ -0,0 +1,38 @@ +string('login', 30); + $table->unsignedInteger('gold'); + $table->unsignedInteger('guild'); + $table->unsignedInteger('war_id'); + + $table->primary(['war_id', 'login']); + $table->foreign('login')->references('login')->on('account'); + $table->foreign('guild')->references('id')->on('guild'); + $table->foreign('war_id')->references('id')->on('guild_war_reservation'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('guild_war_bet'); + } +}; diff --git a/database/migrations/2024_03_30_000024_create_hack_log_table.php b/database/migrations/2024_03_30_000024_create_hack_log_table.php new file mode 100644 index 0000000..699d5a0 --- /dev/null +++ b/database/migrations/2024_03_30_000024_create_hack_log_table.php @@ -0,0 +1,37 @@ +dateTime('time')->useCurrent(); + $table->string('login', 30); + $table->string('name', 24); + $table->string('ip', 15); + $table->string('server', 100); + $table->string('why')->default(''); + + $table->foreign('login')->references('login')->on('account'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('hack_log'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_website_highscore_cache_table.php b/database/migrations/2024_03_30_000025_create_highscore_cache_table.php similarity index 74% rename from database/migrations/2024_03_30_000000_create_website_highscore_cache_table.php rename to database/migrations/2024_03_30_000025_create_highscore_cache_table.php index 52f8b16..a270940 100644 --- a/database/migrations/2024_03_30_000000_create_website_highscore_cache_table.php +++ b/database/migrations/2024_03_30_000025_create_highscore_cache_table.php @@ -11,8 +11,8 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('highscore_cache', function (Blueprint $table) { - $table->bigInteger('id', true); + Schema::create('highscore_cache', function (Blueprint $table) { + $table->id(); $table->text('name'); $table->integer('job'); $table->integer('empire'); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('highscore_cache'); + Schema::dropIfExists('highscore_cache'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_horse_name_table.php b/database/migrations/2024_03_30_000026_create_horse_name_table.php similarity index 59% rename from database/migrations/2024_03_30_000000_create_player_horse_name_table.php rename to database/migrations/2024_03_30_000026_create_horse_name_table.php index de0a2f3..bb196ab 100644 --- a/database/migrations/2024_03_30_000000_create_player_horse_name_table.php +++ b/database/migrations/2024_03_30_000026_create_horse_name_table.php @@ -13,9 +13,11 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('horse_name', function (Blueprint $table) { - $table->integer('id')->default(0)->primary(); - $table->string('name', 24)->default('NONAME'); + Schema::create('horse_name', function (Blueprint $table) { + $table->unsignedInteger('id'); + $table->string('name', 24)->default('Noname'); + + $table->foreign('id')->references('id')->on('player'); }); } @@ -26,6 +28,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('horse_name'); + Schema::dropIfExists('horse_name'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_item_attr_rare_table.php b/database/migrations/2024_03_30_000027_create_item_attr_rare_table.php similarity index 67% rename from database/migrations/2024_03_30_000000_create_player_item_attr_rare_table.php rename to database/migrations/2024_03_30_000027_create_item_attr_rare_table.php index cbfcd88..a4ba45b 100644 --- a/database/migrations/2024_03_30_000000_create_player_item_attr_rare_table.php +++ b/database/migrations/2024_03_30_000027_create_item_attr_rare_table.php @@ -14,22 +14,22 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('item_attr_rare', function (Blueprint $table) { + Schema::create('item_attr_rare', function (Blueprint $table) { $table->enum('apply', ['MAX_HP', 'MAX_SP', 'CON', 'INT', 'STR', 'DEX', 'ATT_SPEED', 'MOV_SPEED', 'CAST_SPEED', 'HP_REGEN', 'SP_REGEN', 'POISON_PCT', 'STUN_PCT', 'SLOW_PCT', 'CRITICAL_PCT', 'PENETRATE_PCT', 'ATTBONUS_HUMAN', 'ATTBONUS_ANIMAL', 'ATTBONUS_ORC', 'ATTBONUS_MILGYO', 'ATTBONUS_UNDEAD', 'ATTBONUS_DEVIL', 'STEAL_HP', 'STEAL_SP', 'MANA_BURN_PCT', 'DAMAGE_SP_RECOVER', 'BLOCK', 'DODGE', 'RESIST_SWORD', 'RESIST_TWOHAND', 'RESIST_DAGGER', 'RESIST_BELL', 'RESIST_FAN', 'RESIST_BOW', 'RESIST_FIRE', 'RESIST_ELEC', 'RESIST_MAGIC', 'RESIST_WIND', 'REFLECT_MELEE', 'REFLECT_CURSE', 'POISON_REDUCE', 'KILL_SP_RECOVER', 'EXP_DOUBLE_BONUS', 'GOLD_DOUBLE_BONUS', 'ITEM_DROP_BONUS', 'POTION_BONUS', 'KILL_HP_RECOVER', 'IMMUNE_STUN', 'IMMUNE_SLOW', 'IMMUNE_FALL', 'SKILL', 'BOW_DISTANCE', 'ATT_GRADE_BONUS', 'DEF_GRADE_BONUS', 'MAGIC_ATT_GRADE', 'MAGIC_DEF_GRADE', 'CURSE_PCT', 'MAX_STAMINA', 'ATT_BONUS_TO_WARRIOR', 'ATT_BONUS_TO_ASSASSIN', 'ATT_BONUS_TO_SURA', 'ATT_BONUS_TO_SHAMAN', 'ATT_BONUS_TO_MONSTER', 'NORMAL_HIT_DEFEND_BONUS', 'SKILL_DEFEND_BONUS', 'NOUSE2\'\'NOUSE3', 'NOUSE4', 'NOUSE5', 'NOUSE6', 'NOUSE7', 'NOUSE8', 'NOUSE9', 'NOUSE10', 'NOUSE11', 'NOUSE12', 'NOUSE13', 'NOUSE14', 'RESIST_WARRIOR', 'RESIST_ASSASSIN', 'RESIST_SURA', 'RESIST_SHAMAN'])->default('MAX_HP'); - $table->string('prob', 100)->default(''); - $table->string('lv1', 100)->default(''); - $table->string('lv2', 100)->default(''); - $table->string('lv3', 100)->default(''); - $table->string('lv4', 100)->default(''); - $table->string('lv5', 100)->default(''); - $table->string('weapon', 100)->default(''); - $table->string('body', 100)->default(''); - $table->string('wrist', 100)->default(''); - $table->string('foots', 100)->default(''); - $table->string('neck', 100)->default(''); - $table->string('head', 100)->default(''); - $table->string('shield', 100)->default(''); - $table->string('ear', 100)->default(''); + $table->string('prob', 100); + $table->string('lv1', 100); + $table->string('lv2', 100); + $table->string('lv3', 100); + $table->string('lv4', 100); + $table->string('lv5', 100); + $table->string('weapon', 100); + $table->string('body', 100); + $table->string('wrist', 100); + $table->string('foots', 100); + $table->string('neck', 100); + $table->string('head', 100); + $table->string('shield', 100); + $table->string('ear', 100); }); // Populate the table data @@ -44,6 +44,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('item_attr_rare'); + Schema::dropIfExists('item_attr_rare'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_item_attr_table.php b/database/migrations/2024_03_30_000028_create_item_attr_table.php similarity index 70% rename from database/migrations/2024_03_30_000000_create_player_item_attr_table.php rename to database/migrations/2024_03_30_000028_create_item_attr_table.php index 089c3bd..5a04975 100644 --- a/database/migrations/2024_03_30_000000_create_player_item_attr_table.php +++ b/database/migrations/2024_03_30_000028_create_item_attr_table.php @@ -14,22 +14,22 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('item_attr', function (Blueprint $table) { + Schema::create('item_attr', function (Blueprint $table) { $table->enum('apply', ['MAX_HP', 'MAX_SP', 'CON', 'INT', 'STR', 'DEX', 'ATT_SPEED', 'MOV_SPEED', 'CAST_SPEED', 'HP_REGEN', 'SP_REGEN', 'POISON_PCT', 'STUN_PCT', 'SLOW_PCT', 'CRITICAL_PCT', 'PENETRATE_PCT', 'ATTBONUS_HUMAN', 'ATTBONUS_ANIMAL', 'ATTBONUS_ORC', 'ATTBONUS_MILGYO', 'ATTBONUS_UNDEAD', 'ATTBONUS_DEVIL', 'STEAL_HP', 'STEAL_SP', 'MANA_BURN_PCT', 'DAMAGE_SP_RECOVER', 'BLOCK', 'DODGE', 'RESIST_SWORD', 'RESIST_TWOHAND', 'RESIST_DAGGER', 'RESIST_BELL', 'RESIST_FAN', 'RESIST_BOW', 'RESIST_FIRE', 'RESIST_ELEC', 'RESIST_MAGIC', 'RESIST_WIND', 'REFLECT_MELEE', 'REFLECT_CURSE', 'POISON_REDUCE', 'KILL_SP_RECOVER', 'EXP_DOUBLE_BONUS', 'GOLD_DOUBLE_BONUS', 'ITEM_DROP_BONUS', 'POTION_BONUS', 'KILL_HP_RECOVER', 'IMMUNE_STUN', 'IMMUNE_SLOW', 'IMMUNE_FALL', 'SKILL', 'BOW_DISTANCE', 'ATT_GRADE_BONUS', 'DEF_GRADE_BONUS', 'MAGIC_ATT_GRADE', 'MAGIC_DEF_GRADE', 'CURSE_PCT', 'MAX_STAMINA', 'ATTBONUS_WARRIOR', 'ATTBONUS_ASSASSIN', 'ATTBONUS_SURA', 'ATTBONUS_SHAMAN', 'ATTBONUS_MONSTER', 'MALL_ATTBONUS', 'MALL_DEFBONUS', 'MALL_EXPBONUS', 'MALL_ITEMBONUS', 'MALL_GOLDBONUS', 'MAX_HP_PCT', 'MAX_SP_PCT', 'SKILL_DAMAGE_BONUS', 'NORMAL_HIT_DAMAGE_BONUS', 'SKILL_DEFEND_BONUS', 'NORMAL_HIT_DEFEND_BONUS', 'PC_BANG_EXP_BONUS', 'PC_BANG_DROP_BONUS', 'EXTRACT_HP_PCT', 'RESIST_WARRIOR', 'RESIST_ASSASSIN', 'RESIST_SURA', 'RESIST_SHAMAN', 'ENERGY', 'DEF_GRADE', 'COSTUME_ATTR_BONUS', 'MAGIC_ATTBONUS_PER', 'MELEE_MAGIC_ATTBONUS_PER', 'RESIST_ICE', 'RESIST_EARTH', 'RESIST_DARK', 'ANTI_CRITICAL_PCT', 'ANTI_PENETRATE_PCT'])->default('MAX_HP'); - $table->string('prob', 100)->default(''); - $table->string('lv1', 100)->default(''); - $table->string('lv2', 100)->default(''); - $table->string('lv3', 100)->default(''); - $table->string('lv4', 100)->default(''); - $table->string('lv5', 100)->default(''); - $table->string('weapon', 100)->default(''); - $table->string('body', 100)->default(''); - $table->string('wrist', 100)->default(''); - $table->string('foots', 100)->default(''); - $table->string('neck', 100)->default(''); - $table->string('head', 100)->default(''); - $table->string('shield', 100)->default(''); - $table->string('ear', 100)->default(''); + $table->string('prob', 100); + $table->string('lv1', 100); + $table->string('lv2', 100); + $table->string('lv3', 100); + $table->string('lv4', 100); + $table->string('lv5', 100); + $table->string('weapon', 100); + $table->string('body', 100); + $table->string('wrist', 100); + $table->string('foots', 100); + $table->string('neck', 100); + $table->string('head', 100); + $table->string('shield', 100); + $table->string('ear', 100); }); // Populate the table data @@ -44,6 +44,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('item_attr'); + Schema::dropIfExists('item_attr'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_item_award_table.php b/database/migrations/2024_03_30_000029_create_item_award_table.php similarity index 58% rename from database/migrations/2024_03_30_000000_create_player_item_award_table.php rename to database/migrations/2024_03_30_000029_create_item_award_table.php index d6c1694..c46e435 100644 --- a/database/migrations/2024_03_30_000000_create_player_item_award_table.php +++ b/database/migrations/2024_03_30_000029_create_item_award_table.php @@ -13,13 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('item_award', function (Blueprint $table) { - $table->integer('id', true); - $table->unsignedInteger('pid')->default(0)->index('pid_idx'); - $table->string('login', 30)->default(''); - $table->unsignedInteger('vnum')->default(0); - $table->unsignedInteger('count')->default(0); - $table->dateTime('given_time')->default('0000-00-00 00:00:00')->index('given_time_idx'); + Schema::create('item_award', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->unsignedInteger('pid'); + $table->string('login', 30); + $table->unsignedInteger('vnum'); + $table->unsignedInteger('count'); + $table->dateTime('given_time')->useCurrent()->index('given_time_idx'); $table->dateTime('taken_time')->nullable()->index('taken_time_idx'); $table->integer('item_id')->nullable(); $table->string('why', 128)->nullable(); @@ -27,6 +27,9 @@ return new class extends Migration $table->integer('socket1')->default(0); $table->integer('socket2')->default(0); $table->boolean('mall')->default(false); + + $table->foreign('pid')->references('id')->on('player'); + $table->foreign('login')->references('login')->on('account'); }); } @@ -37,6 +40,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('item_award'); + Schema::dropIfExists('item_award'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_item_proto_table.php b/database/migrations/2024_03_30_000030_create_item_proto_table.php similarity index 91% rename from database/migrations/2024_03_30_000000_create_player_item_proto_table.php rename to database/migrations/2024_03_30_000030_create_item_proto_table.php index 27c3a15..5c79d74 100644 --- a/database/migrations/2024_03_30_000000_create_player_item_proto_table.php +++ b/database/migrations/2024_03_30_000030_create_item_proto_table.php @@ -13,8 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('item_proto', function (Blueprint $table) { - $table->unsignedInteger('vnum')->default(0)->primary(); + Schema::create('item_proto', function (Blueprint $table) { + $table->unsignedInteger('vnum')->primary(); $table->binary('name', length: 24)->default('Noname'); $table->binary('locale_name', length: 24)->default('Noname'); $table->tinyInteger('type')->default(0); @@ -55,7 +55,7 @@ return new class extends Migration $table->tinyInteger('socket5')->nullable()->default(-1); $table->tinyInteger('specular')->default(0); $table->tinyInteger('socket_pct')->default(0); - $table->smallInteger('addon_type')->default(0); + $table->unsignedSmallInteger('addon_type')->default(0); }); } @@ -66,6 +66,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('item_proto'); + Schema::dropIfExists('item_proto'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_item_table.php b/database/migrations/2024_03_30_000031_create_item_table.php similarity index 89% rename from database/migrations/2024_03_30_000000_create_player_item_table.php rename to database/migrations/2024_03_30_000031_create_item_table.php index 6102010..54840ee 100644 --- a/database/migrations/2024_03_30_000000_create_player_item_table.php +++ b/database/migrations/2024_03_30_000031_create_item_table.php @@ -13,9 +13,9 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('item', function (Blueprint $table) { + Schema::create('item', function (Blueprint $table) { $table->increments('id'); - $table->unsignedInteger('owner_id')->default(0)->index('owner_id_idx'); + $table->unsignedInteger('owner_id')->index('owner_id_idx'); $table->enum('window', ['INVENTORY', 'EQUIPMENT', 'SAFEBOX', 'MALL', 'DRAGON_SOUL_INVENTORY', 'BELT_INVENTORY'])->default('INVENTORY'); $table->unsignedSmallInteger('pos')->default(0); $table->unsignedTinyInteger('count')->default(0); @@ -50,6 +50,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('item'); + Schema::dropIfExists('item'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_land_table.php b/database/migrations/2024_03_30_000032_create_land_table.php similarity index 56% rename from database/migrations/2024_03_30_000000_create_player_land_table.php rename to database/migrations/2024_03_30_000032_create_land_table.php index 61bbc64..dd3ddb4 100644 --- a/database/migrations/2024_03_30_000000_create_player_land_table.php +++ b/database/migrations/2024_03_30_000032_create_land_table.php @@ -14,17 +14,19 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('land', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('map_index')->default(0); - $table->integer('x')->default(0); - $table->integer('y')->default(0); - $table->integer('width')->default(0); - $table->integer('height')->default(0); - $table->unsignedInteger('guild_id')->default(0); - $table->tinyInteger('guild_level_limit')->default(0); + Schema::create('land', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->integer('map_index'); + $table->integer('x'); + $table->integer('y'); + $table->integer('width'); + $table->integer('height'); + $table->unsignedInteger('guild_id')->nullable(); + $table->tinyInteger('guild_level_limit'); $table->unsignedInteger('price')->default(0); $table->enum('enable', ['YES', 'NO'])->default('NO'); + + $table->foreign('guild_id')->references('id')->on('guild'); }); // Populate the table data @@ -39,6 +41,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('land'); + Schema::dropIfExists('land'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_levellog_table.php b/database/migrations/2024_03_30_000033_create_levellog_table.php similarity index 60% rename from database/migrations/2024_03_30_000000_create_log_levellog_table.php rename to database/migrations/2024_03_30_000033_create_levellog_table.php index 8138964..1ca4060 100644 --- a/database/migrations/2024_03_30_000000_create_log_levellog_table.php +++ b/database/migrations/2024_03_30_000033_create_levellog_table.php @@ -13,15 +13,17 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('levellog', function (Blueprint $table) { + Schema::create('levellog', function (Blueprint $table) { $table->char('name', 24)->default(''); $table->tinyInteger('level')->default(0); - $table->dateTime('time')->default('0000-00-00 00:00:00'); + $table->dateTime('time')->useCurrent(); $table->integer('playtime')->default(0); - $table->integer('account_id'); - $table->integer('pid'); + $table->unsignedInteger('account_id'); + $table->unsignedInteger('pid'); $table->primary(['name', 'level']); + $table->foreign('account_id')->references('id')->on('account'); + $table->foreign('pid')->references('id')->on('player'); }); } @@ -32,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('levellog'); + Schema::dropIfExists('levellog'); } }; diff --git a/database/migrations/2024_03_30_000000_create_common_locale_table.php b/database/migrations/2024_03_30_000034_create_locale_table.php similarity index 70% rename from database/migrations/2024_03_30_000000_create_common_locale_table.php rename to database/migrations/2024_03_30_000034_create_locale_table.php index 5925549..f0e14ba 100644 --- a/database/migrations/2024_03_30_000000_create_common_locale_table.php +++ b/database/migrations/2024_03_30_000034_create_locale_table.php @@ -14,9 +14,9 @@ return new class extends Migration */ public function up() { - Schema::connection('common')->create('locale', function (Blueprint $table) { - $table->string('mKey')->default('')->primary(); - $table->string('mValue')->default(''); + Schema::create('locale', function (Blueprint $table) { + $table->string('mKey')->primary(); + $table->string('mValue'); }); // Populate the table data @@ -31,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('common')->dropIfExists('locale'); + Schema::dropIfExists('locale'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_log_table.php b/database/migrations/2024_03_30_000035_create_log_table.php similarity index 82% rename from database/migrations/2024_03_30_000000_create_log_log_table.php rename to database/migrations/2024_03_30_000035_create_log_table.php index 4b3e789..4cb6a71 100644 --- a/database/migrations/2024_03_30_000000_create_log_log_table.php +++ b/database/migrations/2024_03_30_000035_create_log_table.php @@ -13,9 +13,9 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('log', function (Blueprint $table) { + Schema::create('log', function (Blueprint $table) { $table->enum('type', ['ITEM', 'CHARACTER'])->default('ITEM'); - $table->dateTime('time')->default('0000-00-00 00:00:00'); + $table->dateTime('time')->useCurrent(); $table->unsignedInteger('who')->default(0)->index('who_idx'); $table->unsignedInteger('x')->default(0); $table->unsignedInteger('y')->default(0); @@ -34,6 +34,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('log'); + Schema::dropIfExists('log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_loginlog2_table.php b/database/migrations/2024_03_30_000036_create_loginlog_table.php similarity index 57% rename from database/migrations/2024_03_30_000000_create_log_loginlog2_table.php rename to database/migrations/2024_03_30_000036_create_loginlog_table.php index 6d5d5c6..f80cbd1 100644 --- a/database/migrations/2024_03_30_000000_create_log_loginlog2_table.php +++ b/database/migrations/2024_03_30_000036_create_loginlog_table.php @@ -13,18 +13,22 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('loginlog2', function (Blueprint $table) { - $table->integer('id', true); + // TODO Check if this is useless, doesn't seem to be getting used at all + Schema::create('loginlog', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); $table->text('type')->nullable(); - $table->integer('is_gm')->nullable(); + $table->boolean('is_gm')->default(false); $table->dateTime('login_time')->nullable(); $table->integer('channel')->nullable(); - $table->integer('account_id')->nullable(); - $table->integer('pid')->nullable(); + $table->unsignedInteger('account_id')->nullable(); + $table->unsignedInteger('pid')->nullable(); $table->text('client_version')->nullable(); $table->text('ip')->nullable(); $table->dateTime('logout_time')->nullable(); $table->integer('playtime')->default(0); + + $table->foreign('account_id')->references('id')->on('account'); + $table->foreign('pid')->references('id')->on('player'); }); } @@ -35,6 +39,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('loginlog2'); + Schema::dropIfExists('loginlog2'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_lotto_list_table.php b/database/migrations/2024_03_30_000037_create_lotto_list_table.php similarity index 70% rename from database/migrations/2024_03_30_000000_create_player_lotto_list_table.php rename to database/migrations/2024_03_30_000037_create_lotto_list_table.php index 918abca..a847d2f 100644 --- a/database/migrations/2024_03_30_000000_create_player_lotto_list_table.php +++ b/database/migrations/2024_03_30_000037_create_lotto_list_table.php @@ -13,11 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('lotto_list', function (Blueprint $table) { - $table->increments('id'); + Schema::create('lotto_list', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); $table->string('server', 20)->nullable(); $table->unsignedInteger('pid')->nullable(); $table->dateTime('time')->nullable(); + + $table->foreign('pid')->references('id')->on('player'); }); } @@ -28,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('lotto_list'); + Schema::dropIfExists('lotto_list'); } }; diff --git a/database/migrations/2024_03_30_000000_create_website_mall_categories_table.php b/database/migrations/2024_03_30_000038_create_mall_categories_table.php similarity index 74% rename from database/migrations/2024_03_30_000000_create_website_mall_categories_table.php rename to database/migrations/2024_03_30_000038_create_mall_categories_table.php index 5fc6a37..6ef4360 100644 --- a/database/migrations/2024_03_30_000000_create_website_mall_categories_table.php +++ b/database/migrations/2024_03_30_000038_create_mall_categories_table.php @@ -12,8 +12,8 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('mall_categories', function (Blueprint $table) { - $table->integer('id', true); + Schema::create('mall_categories', function (Blueprint $table) { + $table->id(); $table->text('name'); }); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('mall_categories'); + Schema::dropIfExists('mall_categories'); } }; diff --git a/database/migrations/2024_03_30_000000_create_website_mall_data_table.php b/database/migrations/2024_03_30_000039_create_mall_data_table.php similarity index 76% rename from database/migrations/2024_03_30_000000_create_website_mall_data_table.php rename to database/migrations/2024_03_30_000039_create_mall_data_table.php index 344cb92..6fe2116 100644 --- a/database/migrations/2024_03_30_000000_create_website_mall_data_table.php +++ b/database/migrations/2024_03_30_000039_create_mall_data_table.php @@ -11,8 +11,8 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('mall_data', function (Blueprint $table) { - $table->unsignedInteger('vnum')->default(0)->primary(); + Schema::create('mall_data', function (Blueprint $table) { + $table->unsignedInteger('vnum')->primary(); $table->unsignedInteger('socket0')->default(0); $table->unsignedInteger('socket1')->default(0); $table->unsignedInteger('socket2')->default(0); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('mall_data'); + Schema::dropIfExists('mall_data'); } }; diff --git a/database/migrations/2024_03_30_000000_create_website_mall_items_table.php b/database/migrations/2024_03_30_000040_create_mall_items_table.php similarity index 78% rename from database/migrations/2024_03_30_000000_create_website_mall_items_table.php rename to database/migrations/2024_03_30_000040_create_mall_items_table.php index a4bfef7..afe88f9 100644 --- a/database/migrations/2024_03_30_000000_create_website_mall_items_table.php +++ b/database/migrations/2024_03_30_000040_create_mall_items_table.php @@ -12,10 +12,10 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('mall_items', function (Blueprint $table) { - $table->integer('id', true); + Schema::create('mall_items', function (Blueprint $table) { + $table->id(); $table->integer('vnum'); - $table->integer('category_id'); + $table->unsignedBigInteger('category_id'); $table->integer('old_price')->nullable(); $table->integer('price'); $table->enum('pricing', ['CASH', 'MILEAGE'])->default('CASH'); @@ -23,6 +23,8 @@ return new class extends Migration $table->text('image')->nullable(); $table->text('description')->nullable(); $table->enum('other', ['recommend', 'recommend_desc'])->nullable(); + + $table->foreign('category_id')->references('id')->on('mall_categories'); }); // Populate the table data @@ -35,6 +37,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('mall_items'); + Schema::dropIfExists('mall_items'); } }; diff --git a/database/migrations/2024_03_30_000000_create_website_mall_storage_table.php b/database/migrations/2024_03_30_000041_create_mall_storage_table.php similarity index 78% rename from database/migrations/2024_03_30_000000_create_website_mall_storage_table.php rename to database/migrations/2024_03_30_000041_create_mall_storage_table.php index 4790224..2cb66b3 100644 --- a/database/migrations/2024_03_30_000000_create_website_mall_storage_table.php +++ b/database/migrations/2024_03_30_000041_create_mall_storage_table.php @@ -11,11 +11,11 @@ return new class extends Migration */ public function up(): void { - Schema::connection('website')->create('mall_storage', function (Blueprint $table) { - $table->bigInteger('id', true); - $table->unsignedInteger('owner_id')->default(0)->index('owner_id_idx'); - $table->unsignedTinyInteger('count')->default(0); - $table->unsignedInteger('vnum')->default(0)->index('item_vnum_index'); + Schema::create('mall_storage', function (Blueprint $table) { + $table->id(); + $table->unsignedInteger('owner_id')->index('owner_id_idx'); + $table->unsignedTinyInteger('count')->default(1); + $table->unsignedInteger('vnum')->index('item_vnum_index'); $table->unsignedInteger('socket0')->default(0); $table->unsignedInteger('socket1')->default(0); $table->unsignedInteger('socket2')->default(0); @@ -44,6 +44,6 @@ return new class extends Migration */ public function down(): void { - Schema::connection('website')->dropIfExists('mall_storage'); + Schema::dropIfExists('mall_storage'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_marriage_table.php b/database/migrations/2024_03_30_000042_create_marriage_table.php similarity index 54% rename from database/migrations/2024_03_30_000000_create_player_marriage_table.php rename to database/migrations/2024_03_30_000042_create_marriage_table.php index 334c6c4..303360c 100644 --- a/database/migrations/2024_03_30_000000_create_player_marriage_table.php +++ b/database/migrations/2024_03_30_000042_create_marriage_table.php @@ -13,14 +13,16 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('marriage', function (Blueprint $table) { - $table->tinyInteger('is_married')->default(0); - $table->unsignedInteger('pid1')->default(0); - $table->unsignedInteger('pid2')->default(0); + Schema::create('marriage', function (Blueprint $table) { + $table->boolean('is_married')->default(false); + $table->unsignedInteger('pid1'); + $table->unsignedInteger('pid2'); $table->unsignedInteger('love_point')->nullable(); - $table->unsignedInteger('time')->default(0); + $table->unsignedInteger('time'); $table->primary(['pid1', 'pid2']); + $table->foreign('pid1')->references('id')->on('player'); + $table->foreign('pid2')->references('id')->on('player'); }); } @@ -31,6 +33,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('marriage'); + Schema::dropIfExists('marriage'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_messenger_list_table.php b/database/migrations/2024_03_30_000043_create_messenger_list_table.php similarity index 62% rename from database/migrations/2024_03_30_000000_create_player_messenger_list_table.php rename to database/migrations/2024_03_30_000043_create_messenger_list_table.php index b0a2b99..874dda3 100644 --- a/database/migrations/2024_03_30_000000_create_player_messenger_list_table.php +++ b/database/migrations/2024_03_30_000043_create_messenger_list_table.php @@ -13,9 +13,9 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('messenger_list', function (Blueprint $table) { - $table->string('account', 16)->default(''); - $table->string('companion', 16)->default(''); + Schema::create('messenger_list', function (Blueprint $table) { + $table->string('account', 16); + $table->string('companion', 16); $table->primary(['account', 'companion']); }); @@ -28,6 +28,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('messenger_list'); + Schema::dropIfExists('messenger_list'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_mob_proto_table.php b/database/migrations/2024_03_30_000044_create_mob_proto_table.php similarity index 96% rename from database/migrations/2024_03_30_000000_create_player_mob_proto_table.php rename to database/migrations/2024_03_30_000044_create_mob_proto_table.php index be2f54c..3aa806e 100644 --- a/database/migrations/2024_03_30_000000_create_player_mob_proto_table.php +++ b/database/migrations/2024_03_30_000044_create_mob_proto_table.php @@ -13,8 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('mob_proto', function (Blueprint $table) { - $table->integer('vnum')->default(0)->primary(); + Schema::create('mob_proto', function (Blueprint $table) { + $table->integer('vnum')->primary(); $table->binary('name', length: 24)->default('Noname'); $table->binary('locale_name', length: 24)->default('Noname'); $table->tinyInteger('rank')->default(0); @@ -96,6 +96,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('mob_proto'); + Schema::dropIfExists('mob_proto'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_monarch_candidacy_table.php b/database/migrations/2024_03_30_000045_create_monarch_candidacy_table.php similarity index 59% rename from database/migrations/2024_03_30_000000_create_player_monarch_candidacy_table.php rename to database/migrations/2024_03_30_000045_create_monarch_candidacy_table.php index 74e5e9a..bef4629 100644 --- a/database/migrations/2024_03_30_000000_create_player_monarch_candidacy_table.php +++ b/database/migrations/2024_03_30_000045_create_monarch_candidacy_table.php @@ -13,11 +13,14 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('monarch_candidacy', function (Blueprint $table) { - $table->unsignedInteger('pid')->default(0)->primary(); - $table->dateTime('date')->nullable()->default('0000-00-00 00:00:00'); + Schema::create('monarch_candidacy', function (Blueprint $table) { + $table->unsignedInteger('pid'); + $table->dateTime('date')->useCurrent(); + // TODO Check if these two below are ever used $table->string('name', 16)->nullable(); $table->dateTime('windate')->nullable(); + + $table->foreign('pid')->references('id')->on('player'); }); } @@ -28,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('monarch_candidacy'); + Schema::dropIfExists('monarch_candidacy'); } }; diff --git a/database/migrations/2024_03_30_000046_create_monarch_election_table.php b/database/migrations/2024_03_30_000046_create_monarch_election_table.php new file mode 100644 index 0000000..384a174 --- /dev/null +++ b/database/migrations/2024_03_30_000046_create_monarch_election_table.php @@ -0,0 +1,35 @@ +unsignedInteger('pid'); + $table->unsignedInteger('selectedpid'); + $table->dateTime('electiondata')->useCurrent(); + + $table->foreign('pid')->references('id')->on('player'); + $table->foreign('selectedpid')->references('id')->on('player'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('monarch_election'); + } +}; diff --git a/database/migrations/2024_03_30_000047_create_monarch_table.php b/database/migrations/2024_03_30_000047_create_monarch_table.php new file mode 100644 index 0000000..9f67d7a --- /dev/null +++ b/database/migrations/2024_03_30_000047_create_monarch_table.php @@ -0,0 +1,35 @@ +unsignedInteger('empire')->primary(); + $table->unsignedInteger('pid'); + $table->dateTime('windate'); + $table->unsignedBigInteger('money'); + + $table->foreign('pid')->references('id')->on('player'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('monarch'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_log_money_log_table.php b/database/migrations/2024_03_30_000048_create_money_log_table.php similarity index 83% rename from database/migrations/2024_03_30_000000_create_log_money_log_table.php rename to database/migrations/2024_03_30_000048_create_money_log_table.php index 3fd4f9c..0690c45 100644 --- a/database/migrations/2024_03_30_000000_create_log_money_log_table.php +++ b/database/migrations/2024_03_30_000048_create_money_log_table.php @@ -13,7 +13,7 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('money_log', function (Blueprint $table) { + Schema::create('money_log', function (Blueprint $table) { $table->dateTime('time')->nullable(); $table->enum('type', ['MONSTER', 'SHOP', 'REFINE', 'QUEST', 'GUILD', 'MISC', 'KILL', 'DROP'])->nullable(); $table->integer('vnum')->default(0); @@ -30,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('money_log'); + Schema::dropIfExists('money_log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_myshop_pricelist_table.php b/database/migrations/2024_03_30_000049_create_myshop_pricelist_table.php similarity index 57% rename from database/migrations/2024_03_30_000000_create_player_myshop_pricelist_table.php rename to database/migrations/2024_03_30_000049_create_myshop_pricelist_table.php index 1ce4451..d620215 100644 --- a/database/migrations/2024_03_30_000000_create_player_myshop_pricelist_table.php +++ b/database/migrations/2024_03_30_000049_create_myshop_pricelist_table.php @@ -13,12 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('myshop_pricelist', function (Blueprint $table) { - $table->unsignedInteger('owner_id')->default(0); - $table->unsignedInteger('item_vnum')->default(0); - $table->unsignedInteger('price')->default(0); + Schema::create('myshop_pricelist', function (Blueprint $table) { + $table->unsignedInteger('owner_id'); + $table->unsignedInteger('item_vnum'); + $table->unsignedInteger('price'); $table->unique(['owner_id', 'item_vnum'], 'list_id'); + $table->foreign('owner_id')->references('id')->on('player'); }); } @@ -29,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('myshop_pricelist'); + Schema::dropIfExists('myshop_pricelist'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_object_proto_table.php b/database/migrations/2024_03_30_000050_create_object_proto_table.php similarity index 75% rename from database/migrations/2024_03_30_000000_create_player_object_proto_table.php rename to database/migrations/2024_03_30_000050_create_object_proto_table.php index af082e9..6d76a4d 100644 --- a/database/migrations/2024_03_30_000000_create_player_object_proto_table.php +++ b/database/migrations/2024_03_30_000050_create_object_proto_table.php @@ -14,11 +14,11 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('object_proto', function (Blueprint $table) { - $table->unsignedInteger('vnum')->default(0)->primary(); - $table->string('name', 32)->default(''); - $table->unsignedInteger('price')->default(0); - $table->string('materials', 64)->default(''); + Schema::create('object_proto', function (Blueprint $table) { + $table->unsignedInteger('vnum')->primary(); + $table->string('name', 32); + $table->unsignedInteger('price'); + $table->string('materials', 64); $table->unsignedInteger('upgrade_vnum')->default(0); $table->unsignedInteger('upgrade_limit_time')->default(0); $table->integer('life')->default(0); @@ -27,6 +27,7 @@ return new class extends Migration $table->integer('reg_3')->default(0); $table->integer('reg_4')->default(0); $table->unsignedInteger('npc')->default(0); + // TODO Check the items below as they might be indexeable $table->unsignedInteger('group_vnum')->default(0); $table->unsignedInteger('dependent_group')->default(0); }); @@ -43,6 +44,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('object_proto'); + Schema::dropIfExists('object_proto'); } }; diff --git a/database/migrations/2024_03_30_000051_create_object_table.php b/database/migrations/2024_03_30_000051_create_object_table.php new file mode 100644 index 0000000..fc03509 --- /dev/null +++ b/database/migrations/2024_03_30_000051_create_object_table.php @@ -0,0 +1,41 @@ +unsignedInteger('id', true)->primary(); + $table->unsignedInteger('land_id'); + $table->unsignedInteger('vnum'); + $table->integer('map_index'); + $table->integer('x'); + $table->integer('y'); + $table->float('x_rot', null, 0); + $table->float('y_rot', null, 0); + $table->float('z_rot', null, 0); + $table->integer('life')->default(0); + + $table->foreign('land_id')->references('id')->on('land'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('object'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_player_player_deleted_table.php b/database/migrations/2024_03_30_000052_create_player_deleted_table.php similarity index 87% rename from database/migrations/2024_03_30_000000_create_player_player_deleted_table.php rename to database/migrations/2024_03_30_000052_create_player_deleted_table.php index 5ab2a9a..7a57e27 100644 --- a/database/migrations/2024_03_30_000000_create_player_player_deleted_table.php +++ b/database/migrations/2024_03_30_000052_create_player_deleted_table.php @@ -13,10 +13,10 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('player_deleted', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('account_id')->default(0)->index('account_id_idx'); - $table->string('name', 24)->default('NONAME')->index('name_idx'); + Schema::create('player_deleted', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); + $table->unsignedInteger('account_id'); + $table->string('name', 24)->default('Noname')->index('name_idx'); $table->unsignedTinyInteger('job')->default(0); $table->boolean('voice')->unsigned()->default(false); $table->tinyInteger('dir')->default(0); @@ -51,7 +51,7 @@ return new class extends Migration $table->tinyInteger('skill_group')->default(0); $table->binary('skill_level')->nullable(); $table->integer('alignment')->default(0); - $table->dateTime('last_play')->default('0000-00-00 00:00:00'); + $table->dateTime('last_play')->useCurrent(); $table->boolean('change_name')->default(false); $table->smallInteger('sub_skill_point')->default(0); $table->tinyInteger('stat_reset_count')->default(0); @@ -62,6 +62,8 @@ return new class extends Migration $table->boolean('horse_riding')->default(false); $table->smallInteger('horse_skill_point')->default(0); $table->integer('bank_value')->nullable()->default(0); + + $table->foreign('account_id')->references('id')->on('account'); }); } @@ -72,6 +74,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('player_deleted'); + Schema::dropIfExists('player_deleted'); } }; diff --git a/database/migrations/2024_03_30_000053_create_player_index_table.php b/database/migrations/2024_03_30_000053_create_player_index_table.php new file mode 100644 index 0000000..489a2cd --- /dev/null +++ b/database/migrations/2024_03_30_000053_create_player_index_table.php @@ -0,0 +1,41 @@ +unsignedInteger('id'); + $table->unsignedInteger('pid1')->nullable(); + $table->unsignedInteger('pid2')->nullable(); + $table->unsignedInteger('pid3')->nullable(); + $table->unsignedInteger('pid4')->nullable(); + $table->tinyInteger('empire')->default(0); + + $table->foreign('id')->references('id')->on('account'); + $table->foreign('pid1')->references('id')->on('player'); + $table->foreign('pid2')->references('id')->on('player'); + $table->foreign('pid3')->references('id')->on('player'); + $table->foreign('pid4')->references('id')->on('player'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('player_index'); + } +}; diff --git a/database/migrations/2024_03_30_000000_create_log_quest_reward_log_table.php b/database/migrations/2024_03_30_000054_create_quest_reward_log_table.php similarity index 57% rename from database/migrations/2024_03_30_000000_create_log_quest_reward_log_table.php rename to database/migrations/2024_03_30_000054_create_quest_reward_log_table.php index 40bdf5d..d27f896 100644 --- a/database/migrations/2024_03_30_000000_create_log_quest_reward_log_table.php +++ b/database/migrations/2024_03_30_000054_create_quest_reward_log_table.php @@ -13,14 +13,16 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('quest_reward_log', function (Blueprint $table) { + Schema::create('quest_reward_log', function (Blueprint $table) { $table->string('quest_name', 32)->nullable(); - $table->unsignedInteger('player_id')->nullable()->index('player_id'); - $table->tinyInteger('player_level')->nullable(); + $table->unsignedInteger('player_id'); + $table->tinyInteger('player_level'); $table->enum('reward_type', ['EXP', 'ITEM'])->nullable(); - $table->unsignedInteger('reward_value1')->nullable(); - $table->integer('reward_value2')->nullable(); + $table->unsignedInteger('reward_value1'); + $table->integer('reward_value2'); $table->dateTime('time')->nullable(); + + $table->foreign('player_id')->references('id')->on('player'); }); } @@ -31,6 +33,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('quest_reward_log'); + Schema::dropIfExists('quest_reward_log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_quest_table.php b/database/migrations/2024_03_30_000055_create_quest_table.php similarity index 60% rename from database/migrations/2024_03_30_000000_create_player_quest_table.php rename to database/migrations/2024_03_30_000055_create_quest_table.php index 3f36a60..53ffcb8 100644 --- a/database/migrations/2024_03_30_000000_create_player_quest_table.php +++ b/database/migrations/2024_03_30_000055_create_quest_table.php @@ -13,13 +13,14 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('quest', function (Blueprint $table) { - $table->unsignedInteger('dwPID')->default(0)->index('pid_idx'); - $table->string('szName', 32)->default('')->index('name_idx'); + Schema::create('quest', function (Blueprint $table) { + $table->unsignedInteger('dwPID')->nullable(); + $table->string('szName', 32)->index('name_idx'); $table->string('szState', 64)->default('')->index('state_idx'); $table->integer('lValue')->default(0); - $table->primary(['dwPID', 'szName', 'szState']); + $table->index(['dwPID', 'szName', 'szState']); + $table->foreign('dwPID')->references('id')->on('player'); }); } @@ -30,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('quest'); + Schema::dropIfExists('quest'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_refine_proto_table.php b/database/migrations/2024_03_30_000056_create_refine_proto_table.php similarity index 87% rename from database/migrations/2024_03_30_000000_create_player_refine_proto_table.php rename to database/migrations/2024_03_30_000056_create_refine_proto_table.php index 91fce0a..7282f0e 100644 --- a/database/migrations/2024_03_30_000000_create_player_refine_proto_table.php +++ b/database/migrations/2024_03_30_000056_create_refine_proto_table.php @@ -14,8 +14,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('refine_proto', function (Blueprint $table) { - $table->integer('id', true); + Schema::create('refine_proto', function (Blueprint $table) { + $table->unsignedInteger('id', true)->primary(); $table->unsignedInteger('vnum0')->default(0); $table->smallInteger('count0')->default(0); $table->unsignedInteger('vnum1')->default(0); @@ -44,6 +44,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('refine_proto'); + Schema::dropIfExists('refine_proto'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_refinelog_table.php b/database/migrations/2024_03_30_000057_create_refinelog_table.php similarity index 63% rename from database/migrations/2024_03_30_000000_create_log_refinelog_table.php rename to database/migrations/2024_03_30_000057_create_refinelog_table.php index 2448270..041ad15 100644 --- a/database/migrations/2024_03_30_000000_create_log_refinelog_table.php +++ b/database/migrations/2024_03_30_000057_create_refinelog_table.php @@ -13,12 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('refinelog', function (Blueprint $table) { + Schema::create('refinelog', function (Blueprint $table) { $table->unsignedInteger('pid')->nullable(); - $table->string('item_name', 24)->default(''); - $table->integer('item_id')->default(0); - $table->string('step', 50)->default(''); - $table->dateTime('time')->default('0000-00-00 00:00:00'); + // TODO Remove this since we have item_id + $table->string('item_name', 24); + $table->integer('item_id'); + $table->string('step', 50); + $table->dateTime('time')->useCurrent(); $table->boolean('is_success')->default(false); $table->set('setType', ['SOCKET', 'POWER', 'ROD', 'GUILD', 'SCROLL', 'HYUNIRON', 'GOD_SCROLL', 'MUSIN_SCROLL'])->nullable(); }); @@ -31,6 +32,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('refinelog'); + Schema::dropIfExists('refinelog'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_safebox_table.php b/database/migrations/2024_03_30_000058_create_safebox_table.php similarity index 71% rename from database/migrations/2024_03_30_000000_create_player_safebox_table.php rename to database/migrations/2024_03_30_000058_create_safebox_table.php index 35a5d55..5286a60 100644 --- a/database/migrations/2024_03_30_000000_create_player_safebox_table.php +++ b/database/migrations/2024_03_30_000058_create_safebox_table.php @@ -13,11 +13,13 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('safebox', function (Blueprint $table) { - $table->unsignedInteger('account_id')->default(0)->primary(); + Schema::create('safebox', function (Blueprint $table) { + $table->unsignedInteger('account_id'); $table->unsignedTinyInteger('size')->default(0); $table->string('password', 6)->default(''); $table->integer('gold')->default(0); + + $table->foreign('account_id')->references('id')->on('account'); }); } @@ -28,6 +30,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('safebox'); + Schema::dropIfExists('safebox'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_shop_table.php b/database/migrations/2024_03_30_000059_create_shop_table.php similarity index 78% rename from database/migrations/2024_03_30_000000_create_player_shop_table.php rename to database/migrations/2024_03_30_000059_create_shop_table.php index 5210089..58e716f 100644 --- a/database/migrations/2024_03_30_000000_create_player_shop_table.php +++ b/database/migrations/2024_03_30_000059_create_shop_table.php @@ -14,8 +14,8 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('shop', function (Blueprint $table) { - $table->integer('vnum')->default(0)->primary(); + Schema::create('shop', function (Blueprint $table) { + $table->unsignedInteger('vnum')->primary(); $table->string('name', 32)->default('Noname'); $table->smallInteger('npc_vnum')->default(0); }); @@ -32,6 +32,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('shop'); + Schema::dropIfExists('shop'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_shop_item_table.php b/database/migrations/2024_03_30_000060_create_shop_item_table.php similarity index 73% rename from database/migrations/2024_03_30_000000_create_player_shop_item_table.php rename to database/migrations/2024_03_30_000060_create_shop_item_table.php index 716d282..8798de9 100644 --- a/database/migrations/2024_03_30_000000_create_player_shop_item_table.php +++ b/database/migrations/2024_03_30_000060_create_shop_item_table.php @@ -14,12 +14,13 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('shop_item', function (Blueprint $table) { - $table->integer('shop_vnum')->default(0); - $table->integer('item_vnum')->default(0); + Schema::create('shop_item', function (Blueprint $table) { + $table->unsignedInteger('shop_vnum'); + $table->unsignedInteger('item_vnum'); $table->unsignedTinyInteger('count')->default(1); $table->unique(['shop_vnum', 'item_vnum', 'count'], 'vnum_unique'); + $table->foreign('shop_vnum')->references('vnum')->on('shop'); }); // Populate the table data @@ -34,6 +35,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('shop_item'); + Schema::dropIfExists('shop_item'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_shout_log_table.php b/database/migrations/2024_03_30_000061_create_shout_log_table.php similarity index 69% rename from database/migrations/2024_03_30_000000_create_log_shout_log_table.php rename to database/migrations/2024_03_30_000061_create_shout_log_table.php index 6baa016..7866284 100644 --- a/database/migrations/2024_03_30_000000_create_log_shout_log_table.php +++ b/database/migrations/2024_03_30_000061_create_shout_log_table.php @@ -13,8 +13,8 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('shout_log', function (Blueprint $table) { - $table->dateTime('time')->nullable()->default('0000-00-00 00:00:00')->index('time_idx'); + Schema::create('shout_log', function (Blueprint $table) { + $table->dateTime('time')->nullable()->useCurrent()->index('time_idx'); $table->tinyInteger('channel')->nullable(); $table->tinyInteger('empire')->nullable(); $table->string('shout', 350)->nullable(); @@ -28,6 +28,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('shout_log'); + Schema::dropIfExists('shout_log'); } }; diff --git a/database/migrations/2024_03_30_000000_create_player_skill_proto_table.php b/database/migrations/2024_03_30_000062_create_skill_proto_table.php similarity index 88% rename from database/migrations/2024_03_30_000000_create_player_skill_proto_table.php rename to database/migrations/2024_03_30_000062_create_skill_proto_table.php index 9d33dee..0f3ac97 100644 --- a/database/migrations/2024_03_30_000000_create_player_skill_proto_table.php +++ b/database/migrations/2024_03_30_000062_create_skill_proto_table.php @@ -14,9 +14,9 @@ return new class extends Migration */ public function up() { - Schema::connection('player')->create('skill_proto', function (Blueprint $table) { - $table->integer('dwVnum')->default(0)->primary(); - $table->binary('szName', 32)->default(''); + Schema::create('skill_proto', function (Blueprint $table) { + $table->integer('dwVnum')->primary(); + $table->binary('szName', 32); $table->tinyInteger('bType')->default(0); $table->tinyInteger('bLevelStep')->default(0); $table->tinyInteger('bMaxLevel')->default(0); @@ -29,19 +29,19 @@ return new class extends Migration $table->string('szCooldownPoly', 100)->default(''); $table->string('szMasterBonusPoly', 100)->default(''); $table->string('szAttackGradePoly', 100)->default(''); - $table->set('setFlag', ['ATTACK', 'USE_MELEE_DAMAGE', 'COMPUTE_ATTGRADE', 'SELFONLY', 'USE_MAGIC_DAMAGE', 'USE_HP_AS_COST', 'COMPUTE_MAGIC_DAMAGE', 'SPLASH', 'GIVE_PENALTY', 'USE_ARROW_DAMAGE', 'PENETRATE', 'IGNORE_TARGET_RATING', 'ATTACK_SLOW', 'ATTACK_STUN', 'HP_ABSORB', 'SP_ABSORB', 'ATTACK_FIRE_CONT', 'REMOVE_BAD_AFFECT', 'REMOVE_GOOD_AFFECT', 'CRUSH', 'ATTACK_POISON', 'TOGGLE', 'DISABLE_BY_POINT_UP', 'CRUSH_LONG'])->nullable(); - $table->enum('setAffectFlag', ['YMIR', 'INVISIBILITY', 'SPAWN', 'POISON', 'SLOW', 'STUN', 'DUNGEON_READY', 'FORCE_VISIBLE', 'BUILDING_CONSTRUCTION_SMALL', 'BUILDING_CONSTRUCTION_LARGE', 'BUILDING_UPGRADE', 'MOV_SPEED_POTION', 'ATT_SPEED_POTION', 'FISH_MIDE', 'JEONGWIHON', 'GEOMGYEONG', 'CHEONGEUN', 'GYEONGGONG', 'EUNHYUNG', 'GWIGUM', 'TERROR', 'JUMAGAP', 'HOSIN', 'BOHO', 'KWAESOK', 'MANASHIELD', 'MUYEONG', 'REVIVE_INVISIBLE', 'FIRE', 'GICHEON', 'JEUNGRYEOK'])->default('YMIR'); + $table->set('setFlag', ['ATTACK', 'USE_MELEE_DAMAGE', 'COMPUTE_ATTGRADE', 'SELFONLY', 'USE_MAGIC_DAMAGE', 'USE_HP_AS_COST', 'COMPUTE_MAGIC_DAMAGE', 'SPLASH', 'GIVE_PENALTY', 'USE_ARROW_DAMAGE', 'PENETRATE', 'IGNORE_TARGET_RATING', 'ATTACK_SLOW', 'ATTACK_STUN', 'HP_ABSORB', 'SP_ABSORB', 'ATTACK_FIRE_CONT', 'REMOVE_BAD_AFFECT', 'REMOVE_GOOD_AFFECT', 'CRUSH', 'ATTACK_POISON', 'TOGGLE', 'DISABLE_BY_POINT_UP', 'CRUSH_LONG']); + $table->enum('setAffectFlag', ['YMIR', 'INVISIBILITY', 'SPAWN', 'POISON', 'SLOW', 'STUN', 'DUNGEON_READY', 'FORCE_VISIBLE', 'BUILDING_CONSTRUCTION_SMALL', 'BUILDING_CONSTRUCTION_LARGE', 'BUILDING_UPGRADE', 'MOV_SPEED_POTION', 'ATT_SPEED_POTION', 'FISH_MIDE', 'JEONGWIHON', 'GEOMGYEONG', 'CHEONGEUN', 'GYEONGGONG', 'EUNHYUNG', 'GWIGUM', 'TERROR', 'JUMAGAP', 'HOSIN', 'BOHO', 'KWAESOK', 'MANASHIELD', 'MUYEONG', 'REVIVE_INVISIBLE', 'FIRE', 'GICHEON', 'JEUNGRYEOK'])->nullable()->default('YMIR'); $table->string('szPointOn2', 100)->default('NONE'); $table->string('szPointPoly2', 100)->default(''); $table->string('szDurationPoly2', 100)->default(''); - $table->enum('setAffectFlag2', ['YMIR', 'INVISIBILITY', 'SPAWN', 'POISON', 'SLOW', 'STUN', 'DUNGEON_READY', 'FORCE_VISIBLE', 'BUILDING_CONSTRUCTION_SMALL', 'BUILDING_CONSTRUCTION_LARGE', 'BUILDING_UPGRADE', 'MOV_SPEED_POTION', 'ATT_SPEED_POTION', 'FISH_MIDE', 'JEONGWIHON', 'GEOMGYEONG', 'CHEONGEUN', 'GYEONGGONG', 'EUNHYUNG', 'GWIGUM', 'TERROR', 'JUMAGAP', 'HOSIN', 'BOHO', 'KWAESOK', 'MANASHIELD'])->default('YMIR'); + $table->enum('setAffectFlag2', ['YMIR', 'INVISIBILITY', 'SPAWN', 'POISON', 'SLOW', 'STUN', 'DUNGEON_READY', 'FORCE_VISIBLE', 'BUILDING_CONSTRUCTION_SMALL', 'BUILDING_CONSTRUCTION_LARGE', 'BUILDING_UPGRADE', 'MOV_SPEED_POTION', 'ATT_SPEED_POTION', 'FISH_MIDE', 'JEONGWIHON', 'GEOMGYEONG', 'CHEONGEUN', 'GYEONGGONG', 'EUNHYUNG', 'GWIGUM', 'TERROR', 'JUMAGAP', 'HOSIN', 'BOHO', 'KWAESOK', 'MANASHIELD'])->nullable()->default('YMIR'); $table->string('szPointOn3', 100)->default('NONE'); $table->string('szPointPoly3', 100)->default(''); $table->string('szDurationPoly3', 100)->default(''); $table->string('szGrandMasterAddSPCostPoly', 100)->default(''); $table->integer('prerequisiteSkillVnum')->default(0); $table->integer('prerequisiteSkillLevel')->default(0); - $table->enum('eSkillType', ['NORMAL', 'MELEE', 'RANGE', 'MAGIC'])->default('NORMAL'); + $table->enum('eSkillType', ['NORMAL', 'MELEE', 'RANGE', 'MAGIC'])->nullable()->default('NORMAL'); $table->tinyInteger('iMaxHit')->default(0); $table->string('szSplashAroundDamageAdjustPoly', 100)->default('1'); $table->integer('dwTargetRange')->default(1000); @@ -64,6 +64,6 @@ return new class extends Migration */ public function down() { - Schema::connection('player')->dropIfExists('skill_proto'); + Schema::dropIfExists('skill_proto'); } }; diff --git a/database/migrations/2024_03_30_000000_create_common_spam_db_table.php b/database/migrations/2024_03_30_000063_create_spam_db_table.php similarity index 62% rename from database/migrations/2024_03_30_000000_create_common_spam_db_table.php rename to database/migrations/2024_03_30_000063_create_spam_db_table.php index aa592d3..772d2c5 100644 --- a/database/migrations/2024_03_30_000000_create_common_spam_db_table.php +++ b/database/migrations/2024_03_30_000063_create_spam_db_table.php @@ -13,15 +13,12 @@ return new class extends Migration */ public function up() { - Schema::connection('common')->create('spam_db', function (Blueprint $table) { - // TODO: update this to modern standards (InnoDB & utf8mb4) - $table->engine = "MyISAM"; - $table->charset = "utf8"; - $table->collation = "utf8_general_ci"; - + Schema::create('spam_db', function (Blueprint $table) { $table->set('type', ['GOOD', 'SPAM'])->default('SPAM'); $table->string('word', 256)->primary(); $table->integer('score')->default(10); + + $table->index('type'); }); } @@ -32,6 +29,6 @@ return new class extends Migration */ public function down() { - Schema::connection('common')->dropIfExists('spam_db'); + Schema::dropIfExists('spam_db'); } }; diff --git a/database/migrations/2024_03_30_000000_create_log_speed_hack_table.php b/database/migrations/2024_03_30_000064_create_speed_hack_table.php similarity index 57% rename from database/migrations/2024_03_30_000000_create_log_speed_hack_table.php rename to database/migrations/2024_03_30_000064_create_speed_hack_table.php index c4e8d24..ce72d9f 100644 --- a/database/migrations/2024_03_30_000000_create_log_speed_hack_table.php +++ b/database/migrations/2024_03_30_000064_create_speed_hack_table.php @@ -13,12 +13,14 @@ return new class extends Migration */ public function up() { - Schema::connection('log')->create('speed_hack', function (Blueprint $table) { - $table->integer('pid')->nullable(); - $table->dateTime('time')->nullable(); - $table->integer('x')->nullable(); - $table->integer('y')->nullable(); + Schema::create('speed_hack', function (Blueprint $table) { + $table->unsignedInteger('pid'); + $table->dateTime('time')->useCurrent(); + $table->integer('x'); + $table->integer('y'); $table->string('hack_count', 20)->nullable(); + + $table->foreign('pid')->references('id')->on('player'); }); } @@ -29,6 +31,6 @@ return new class extends Migration */ public function down() { - Schema::connection('log')->dropIfExists('speed_hack'); + Schema::dropIfExists('speed_hack'); } }; diff --git a/database/migrations/2025_01_01_000000_alter_common_spam_db_table.php b/database/migrations/2025_01_01_000000_alter_common_spam_db_table.php deleted file mode 100644 index 56c2d69..0000000 --- a/database/migrations/2025_01_01_000000_alter_common_spam_db_table.php +++ /dev/null @@ -1,59 +0,0 @@ -string('word', 191)->charset('utf8mb4')->collation('utf8mb4_unicode_ci')->change(); - }); - // create index on type - Schema::table('spam_db', function (Blueprint $table) { - $table->index('type'); - }); - // update to modern standards (InnoDB & utf8mb4) - Schema::table('spam_db', function (Blueprint $table) { - DB::statement('ALTER TABLE common.spam_db ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci'); - DB::statement('ALTER TABLE common.spam_db CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // revert to old standards (MyISAM & utf8) - Schema::table('spam_db', function (Blueprint $table) { - DB::statement('ALTER TABLE spam_db ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci'); - DB::statement('ALTER TABLE spam_db CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci'); - }); - // change word back to 256 characters - Schema::table('spam_db', function (Blueprint $table) { - $table->string('word', 256)->charset('utf8')->collation('utf8_general_ci')->change(); - }); - // drop index on type - Schema::table('spam_db', function (Blueprint $table) { - $table->dropIndex(['type']); - }); - } -}; diff --git a/package-lock.json b/package-lock.json index 509531f..e6003d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "metin2", + "name": "web", "lockfileVersion": 2, "requires": true, "packages": {