1 | <?php |
||
8 | class FeatureJudge extends AbstractFeatureJudge |
||
9 | { |
||
10 | /** |
||
11 | * {@inheritdoc} |
||
12 | */ |
||
13 | 33 | public function decide($feature, $user = null, $defaultIfNotFound = false) |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 33 | public function featureExists($feature) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 31 | public function getFeature($feature) |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 35 | public function getFeatures() |
|
57 | |||
58 | /** |
||
59 | * @see http://php.net/manual/de/function.boolval.php#116547 |
||
60 | * |
||
61 | * @param mixed $val |
||
62 | * @param bool|false $returnNull |
||
63 | * |
||
64 | * @return bool|mixed|null |
||
65 | */ |
||
66 | 35 | public static function isTrue($val, $returnNull = false) |
|
72 | } |
||
73 |