38 lines
1.9 KiB
PHP
Executable File
38 lines
1.9 KiB
PHP
Executable File
<?php
|
|
|
|
use Bastion\Handlers\AutocompleteHandler;
|
|
use Bastion\Handlers\DictionariesHandler;
|
|
use Bastion\Handlers\FormsHandler;
|
|
use Bastion\Handlers\ImageHandler;
|
|
use Bastion\Handlers\LogsHandler;
|
|
use Bastion\Handlers\SendMessageHandler;
|
|
use Bastion\Handlers\SettingsHandler;
|
|
use Bastion\Handlers\StatsHandler;
|
|
use Bastion\Handlers\TeleCartPulseStatsHandler;
|
|
use Bastion\Handlers\TelegramCustomersHandler;
|
|
use Bastion\Handlers\TelegramHandler;
|
|
|
|
return [
|
|
'configureBotToken' => [SettingsHandler::class, 'configureBotToken'],
|
|
'getAutocompleteCategories' => [AutocompleteHandler::class, 'getCategories'],
|
|
'getAutocompleteCategoriesFlat' => [AutocompleteHandler::class, 'getCategoriesFlat'],
|
|
'getCategories' => [DictionariesHandler::class, 'getCategories'],
|
|
'getCategoriesById' => [AutocompleteHandler::class, 'getCategoriesById'],
|
|
'getChatId' => [TelegramHandler::class, 'getChatId'],
|
|
'getDashboardStats' => [StatsHandler::class, 'getDashboardStats'],
|
|
'getFormByAlias' => [FormsHandler::class, 'getFormByAlias'],
|
|
'getImage' => [ImageHandler::class, 'getImage'],
|
|
'getLogs' => [LogsHandler::class, 'getLogs'],
|
|
'getProductsById' => [AutocompleteHandler::class, 'getProductsById'],
|
|
'getSettingsForm' => [SettingsHandler::class, 'getSettingsForm'],
|
|
'getTelegramCustomers' => [TelegramCustomersHandler::class, 'getCustomers'],
|
|
'resetCache' => [SettingsHandler::class, 'resetCache'],
|
|
'regenerateCronScheduleUrl' => [SettingsHandler::class, 'regenerateCronScheduleUrl'],
|
|
'saveSettingsForm' => [SettingsHandler::class, 'saveSettingsForm'],
|
|
'getSystemInfo' => [SettingsHandler::class, 'getSystemInfo'],
|
|
'sendMessageToCustomer' => [SendMessageHandler::class, 'sendMessage'],
|
|
'testTgMessage' => [TelegramHandler::class, 'testTgMessage'],
|
|
'tgGetMe' => [TelegramHandler::class, 'tgGetMe'],
|
|
'getTeleCartPulseStats' => [TeleCartPulseStatsHandler::class, 'getStats'],
|
|
];
|