Alexander Borisov
Alexander Borisov
As workaround I use this helper class: ``` php namespace AppBundle\Cache; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpKernel\Controller\ControllerReference; use Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface; class FragmentPathResolver { /** * @var FragmentRendererInterface */ private $fragmentRenderer; /** * @var...
Need this for Symfony 5 support ping @Smart-Core
https://github.com/gordalina/cachetool - you can use this separate cli app
There is one in [example project](https://github.com/BoShurik/telegram-bot-example/blob/master/src/Post/Telegram/Command/PostCommand.php). I'm not sure it fits the bundle as implementation may be too subjective (e.g. different data sources). I'll try to implement more generic version...
@MyZik check [PostCommand](https://github.com/BoShurik/telegram-bot-example/blob/pagination/src/Post/Telegram/Command/PostCommand.php) IMO, with #35 improvements there is no problems to implement it by self. Main feature is [InlineKeyboardMarkupFactory](https://github.com/BoShurik/telegram-bot-example/blob/pagination/src/Post/Pagerfanta/InlineKeyboardMarkupFactory.php) and more likely it will be overwritten WDYT?
Thank you! Did not work with inline bots. Do you check https://core.telegram.org/bots/api#inline-mode and https://core.telegram.org/bots/api#getting-updates? Looks like you can use [Update::getInlineQuery](https://github.com/TelegramBot/Api/blob/master/src/Types/Update.php#L247) method to get mentions and [BotApi::answerInlineQuery](https://github.com/TelegramBot/Api/blob/master/src/BotApi.php#L1062) to send responses
Looks like this is a BC braking change. Users need to change their routing config manually from `yaml` to `php` > P.S Why support for S5.4 и php7.4 was discontinued?...
Oh, missed that
The advantage of the env variables that they can be changed on the fly. Without that you may use simple php array to store such variables
To extend symfony form types you may use `getParent` method (see https://symfony.com/doc/current/form/create_custom_field_type.html#creating-form-types-based-on-symfony-built-in-types) ```php class AppImageType extends AbstractType { public function getParent(): string { return VichImageType::class; } } ```