BaseString
abstract class BaseString extends BaseScalar
Class BaseString
Properties
protected | $value |
Methods
bool
from BaseScalar
__construct(string $value)
BaseString constructor.
void
setValue(string $value)
In this method you must add all the necessary validations.
value()
Return the scalar value.
string
__toString()
No description
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(string $value)
BaseString constructor.
at line 29
abstract protected void
setValue(string $value)
In this method you must add all the necessary validations.
at line 36
value()
Return the scalar value.