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

@ -68,9 +68,9 @@ Here is an example of setting an event for the `AdminController` and the `User`
<?php
// events.php file
use Da\Controller\AdminController;
use Da\Event\UserEvent;
use Da\Model\User;
use Da\User\Controller\AdminController;
use Da\User\Event\UserEvent;
use Da\User\Model\User;
use yii\base\Event;
// This will happen at the controller's level