ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilUIService.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
6use \Psr\Http\Message\ServerRequestInterface;
7
15{
19 protected $_deps;
20
21
28 public function __construct(ServerRequestInterface $request, UIServices $ui)
29 {
30 $this->_deps = new ilUIServiceDependencies($ui, new ilUIFilterRequestAdapter($request));
31 }
32
36 public function filter() : ilUIFilterService
37 {
38 return new ilUIFilterService($this, $this->_deps);
39 }
40}
An exception for terminatinating execution or to throw for unit testing.
Provides fluid interface to RBAC services.
Definition: UIServices.php:10
Filter service.
__construct(ServerRequestInterface $request, UIServices $ui)
Constructor.