\Todo\Task\ValueObjectTaskDetail

Summary

Methods
Properties
Constants
__construct()
__toString()
isEmpty()
No public properties found
MAX_LENGTH
validate()
$value
N/A
No private methods found
No private properties found
N/A

Constants

MAX_LENGTH

MAX_LENGTH = 1000

Properties

$value

$value : string

Base string value

Type

string

Methods

__construct()

__construct(string  $value) : mixed

Base string constructor

Parameters

string $value

Returns

mixed —

__toString()

__toString() : string

to string

Returns

string —

isEmpty()

isEmpty() : bool

string value judge empty function

Returns

bool —

validate()

validate(string  $value) : void

string value validate function

Parameters

string $value