ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
RBACServices.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3 
4 namespace ILIAS\DI;
5 
9 class RBACServices {
13  protected $container;
14 
15  public function __construct(Container $container) {
16  $this->container = $container;
17  }
18 
24  public function system() {
25  return $this->container["rbacsystem"];
26  }
27 
33  public function admin() {
34  return $this->container["rbacadmin"];
35  }
36 
42  public function review() {
43  return $this->container["rbacreview"];
44  }
45 
46 }
__construct(Container $container)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:12
system()
Get the interface to the RBAC system.
review()
Get the interface to query the RBAC system.
Provides fluid interface to RBAC services.
Definition: RBACServices.php:9
admin()
Get the interface to insert relations into the RBAC system.