final class DatabaseName implements Stringable (View source)

Constants

private MAX_LENGTH

Methods

static DatabaseName
fromValue(mixed $name)

No description

static DatabaseName|null
tryFromValue(mixed $name)

No description

string
getName()

No description

string
__toString()

No description

Details

static DatabaseName fromValue(mixed $name)

No description

Parameters

mixed $name

Return Value

DatabaseName

Exceptions

InvalidDatabaseName

static DatabaseName|null tryFromValue(mixed $name)

No description

Parameters

mixed $name

Return Value

DatabaseName|null

string getName()

No description

Return Value

string

string __toString()

No description

Return Value

string