fix another example #291

This commit is contained in:
Lorenzo Milesi
2019-02-04 14:13:22 +01:00
parent 39e1e5fa6a
commit f16de775be

View File

@ -53,8 +53,7 @@ Event::on(RecoveryController::class, FormEvent::EVENT_BEFORE_REQUEST, function (
$form = $event->getForm(); $form = $event->getForm();
// ... your logic here // ... your logic here
} });
``` ```
Now, include `events.php` file to your entry script (i.e. `index.php`). The following is taken from the Yii 2 Advanced Now, include `events.php` file to your entry script (i.e. `index.php`). The following is taken from the Yii 2 Advanced