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
$_usedProperties
private
mixed
$_usedProperties
= []
$defaultUri
private
mixed
$defaultUri
$enabled
private
mixed
$enabled
$httpPort
private
mixed
$httpPort
$httpsPort
private
mixed
$httpsPort
$resource
private
mixed
$resource
$strictRequirements
private
mixed
$strictRequirements
$type
private
mixed
$type
$utf8
private
mixed
$utf8
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
defaultUri()
The default URI used to generate URLs in a non-HTTP context
public
defaultUri(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thishttpPort()
public
httpPort(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thishttpsPort()
public
httpsPort(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisresource()
public
resource(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisstrictRequirements()
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
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>type()
public
type(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisutf8()
public
utf8(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool