Answer the question
In order to leave comments, you need to log in
Console command in from action?
How to correctly call this command php yii message @app/messages/config.php
from the action?
Answer the question
In order to leave comments, you need to log in
https://nix-tips.ru/yii2-api-guides/guide-ru-tutor...
or do you think it is possible to call a console command in a web controller action? If yes, then you are wrong. Alternatively, you can execute the logic of the message action.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question