DeclareStatement
Table of Contents
Constants
-
ENCODING
= 'encoding'
-
STRICT_TYPES
= 'strict_types'
-
TICKS
= 'ticks'
-
ALLOWED
= [self::TICKS => 'integer', self::STRICT_TYPES => 'integer', self::ENCODING => 'string']
Properties
-
$directive
: string
-
$value
: int|string
Methods
-
encoding()
: self
-
fromArray()
: self
-
getDirective()
: string
-
getStatement()
: string
-
getValue()
: int|string
-
strictTypes()
: self
-
ticks()
: self
-
__construct()
: mixed
ENCODING
public
mixed
ENCODING
= 'encoding'
STRICT_TYPES
public
mixed
STRICT_TYPES
= 'strict_types'
TICKS
public
mixed
TICKS
= 'ticks'
ALLOWED
private
mixed
ALLOWED
= [self::TICKS => 'integer', self::STRICT_TYPES => 'integer', self::ENCODING => 'string']
$directive
protected
string
$directive
$value
protected
int|string
$value
encoding()
public
static encoding(string $value) : self
Parameters
-
$value
: string
-
fromArray()
public
static fromArray(array<string|int, mixed> $config) : self
Parameters
-
$config
: array<string|int, mixed>
-
getDirective()
public
getDirective() : string
getStatement()
public
getStatement() : string
getValue()
public
getValue() : int|string
strictTypes()
public
static strictTypes(int $value) : self
Parameters
-
$value
: int
-
ticks()
public
static ticks(int $value) : self
Parameters
-
$value
: int
-
__construct()
private
__construct(string $directive, int|string $value) : mixed
Parameters
-
$directive
: string
-
-
$value
: int|string
-