ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
10 {
14  protected $container;
15 
16  public function __construct(Container $container)
17  {
18  $this->container = $container;
19  }
20 
26  public function system()
27  {
28  return $this->container["rbacsystem"];
29  }
30 
36  public function admin()
37  {
38  return $this->container["rbacadmin"];
39  }
40 
46  public function review()
47  {
48  return $this->container["rbacreview"];
49  }
50 }
__construct(Container $container)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:16
Class HTTPServicesTest.
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.