BaseFloat
abstract class BaseFloat extends BaseScalar
Class BaseFloat
Properties
protected | $value |
Methods
bool
from BaseScalar
__construct(float $value)
BaseFloat constructor.
void
setValue(float $value)
In this method you must add all the necessary validations.
value()
Return the scalar value.
Details
in BaseScalar at line 14
bool
equals(ValueObject $valueObject)
Compare if a ValueObject is of the same type and identical value.
at line 18
__construct(float $value)
BaseFloat constructor.
at line 29
abstract protected void
setValue(float $value)
In this method you must add all the necessary validations.
at line 36
value()
Return the scalar value.