ILIAS  release_7 Revision v7.30-3-g800a261c036
AbstractValue.php
Go to the documentation of this file.
1<?php
2
4
9
17abstract class AbstractValue implements Value
18{
19
23 protected $parentTask;
24
25
29 public function getType()
30 {
31 return new SingleType(get_called_class());
32 }
33
34
38 public function getParentTask()
39 {
40 return $this->parentTask;
41 }
42
43
50 {
51 $this->parentTask = $parentTask;
52 }
53
54
58 public function hasParentTask()
59 {
60 return isset($this->parentTask);
61 }
62}
An exception for terminatinating execution or to throw for unit testing.