fixes + add events documentation

This commit is contained in:
Antonio Ramirez
2017-06-13 00:01:30 +02:00
parent 9f4a29941c
commit 692358adb6
6 changed files with 107 additions and 8 deletions

View File

@ -43,8 +43,8 @@ Here is an example of setting an event for the `RecoveryController`:
<?php
// events.php file
use Da\Controller\RecoveryController;
use Da\Event\FormEvent;
use Da\User\Controller\RecoveryController;
use Da\User\Event\FormEvent;
use yii\base\Event;
Event::on(RecoveryController::class, FormEvent::EVENT_BEFORE_REQUEST, function (FormEvent $event) {