ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilUserRequestTargetAdjustmentCase.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5use Psr\Http\Message\ServerRequestInterface;
6
11{
13 protected $user;
14
16 protected $ctrl;
17
19 protected $request;
20
26 public function __construct(ilObjUser $user, ilCtrl $ctrl, ServerRequestInterface $request)
27 {
28 $this->user = $user;
29 $this->ctrl = $ctrl;
30 $this->request = $request;
31 }
32
36 abstract public function shouldStoreRequestTarget() : bool;
37
41 abstract public function shouldAdjustRequest() : bool;
42
46 abstract public function isInFulfillment() : bool;
47
51 abstract public function adjust() : void;
52}
user()
Definition: user.php:4
An exception for terminatinating execution or to throw for unit testing.
This class provides processing control methods.
__construct(ilObjUser $user, ilCtrl $ctrl, ServerRequestInterface $request)