Documentation

RouterConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$defaultUri  : mixed
$enabled  : mixed
$httpPort  : mixed
$httpsPort  : mixed
$resource  : mixed
$strictRequirements  : mixed
$type  : mixed
$utf8  : mixed

Methods

__construct()  : mixed
defaultUri()  : $this
The default URI used to generate URLs in a non-HTTP context
enabled()  : $this
httpPort()  : $this
httpsPort()  : $this
resource()  : $this
strictRequirements()  : $this
set to true to throw an exception when a parameter does not match the requirements set to false to disable exceptions when a parameter does not match the requirements (and return null instead) set to null to disable parameter checks against requirements 'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production
toArray()  : array<string|int, mixed>
type()  : $this
utf8()  : $this

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

strictRequirements()

set to true to throw an exception when a parameter does not match the requirements set to false to disable exceptions when a parameter does not match the requirements (and return null instead) set to null to disable parameter checks against requirements 'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production

public strictRequirements(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

true

Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results