Stored procedures in yii2

hello, I do not have much experience with yii2 but I need an example of how to implement a stored procedure from my database in mysql since I have already seen several examples but I want to create it so that at the moment of clicking on the save button it executes