Resolver
class Resolver (View source)
Properties
protected Repository | $config | ||
protected string|null | $characterSet | The character set. |
|
protected string|null | $collation | The collation. |
|
protected int | $maximumStringKeyLength | The maximum length of string fields that should be supported using the specified collation. |
Methods
Get the configuration instance.
Get the default character set.
Get the character set.
Set the character set.
Get the default collation.
Get the collation.
Set the collation.
Get the maximum length of string fields that should be supported using the specified collation.
Set the maximum length of string fields that should be supported using the specified collation.
Get the normalized form (lower case, only letters/digits/underscores) of a character set.
Get the normalized form (lower case, only letters/digits/underscores) of a collation.
Details
__construct(Repository $config)
No description
Repository
getConfig()
Get the configuration instance.
string
getDefaultCharacterSet()
Get the default character set.
string
getCharacterSet()
Get the character set.
$this
setCharacterSet(string|null|mixed $characterSet)
Set the character set.
string
getDefaultCollation()
Get the default collation.
string
getCollation()
Get the collation.
$this
setCollation(string|null|mixed $collation)
Set the collation.
int
getMaximumStringKeyLength()
Get the maximum length of string fields that should be supported using the specified collation.
$this
setMaximumStringKeyLength(int $value)
Set the maximum length of string fields that should be supported using the specified collation.
resolveCharacterSetAndCollation(Connection $connection)
Resolve the character set and collation.
string
normalizeCharacterSet(string|mixed $characterSet)
Get the normalized form (lower case, only letters/digits/underscores) of a character set.
string
normalizeCollation(string|mixed $collation)
Get the normalized form (lower case, only letters/digits/underscores) of a collation.