| 1 | <?php |
||
| 13 | final class RoleControllerSubscriber implements EventSubscriberInterface |
||
| 14 | { |
||
| 15 | private $em; |
||
| 16 | |||
| 17 | public function __construct($em) |
||
| 21 | |||
| 22 | public static function getSubscribedEvents() |
||
| 28 | |||
| 29 | public function postWrite(GetResponseForControllerResultEvent $event) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Add all resources from the system. |
||
| 45 | * |
||
| 46 | * @param Role $role |
||
| 47 | */ |
||
| 48 | private function addResources(Role $role) |
||
| 60 | } |
||
| 61 |