Documentation

DeclareStatement
in package

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

Constants

ALLOWED

private mixed ALLOWED = [self::TICKS => 'integer', self::STRICT_TYPES => 'integer', self::ENCODING => 'string']

Properties

Methods

encoding()

public static encoding(string $value) : self
Parameters
$value : string
Return values
self

fromArray()

public static fromArray(array<string|int, mixed> $config) : self
Parameters
$config : array<string|int, mixed>
Return values
self

strictTypes()

public static strictTypes(int $value) : self
Parameters
$value : int
Return values
self

ticks()

public static ticks(int $value) : self
Parameters
$value : int
Return values
self

__construct()

private __construct(string $directive, int|string $value) : mixed
Parameters
$directive : string
$value : int|string

        
On this page

Search results