ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
FloatValue.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues
;
4
5
class
FloatValue
extends
ScalarValue
6
{
7
public
function
setValue
($float)
8
{
9
if
(!is_float($float)) {
10
throw
new
InvalidArgumentException
(
"The value given must be a float! See php-documentation is_float()."
);
11
}
12
13
parent::setValue($float);
// TODO: Change the autogenerated stub
14
}
15
}
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues
Created by PhpStorm.
Definition:
BasicScalarValueFactory.php:3
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\FloatValue\setValue
setValue($float)
Definition:
FloatValue.php:7
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue
Definition:
ScalarValue.php:9
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\FloatValue
Definition:
FloatValue.php:5
php
InvalidArgumentException
src
BackgroundTasks
Implementation
Values
ScalarValues
FloatValue.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)