ControllerResolverConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $autoMapping : mixed
- $enabled : mixed
- $evictCache : mixed
Methods
- __construct() : mixed
- autoMapping() : $this
- Set to false to disable using route placeholders as lookup criteria when the primary key doesn't match the argument name
- enabled() : $this
- evictCache() : $this
- Set to true to fetch the entity from the database instead of using the cache, if any
- toArray() : array<string|int, mixed>
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$autoMapping
private
mixed
$autoMapping
$enabled
private
mixed
$enabled
$evictCache
private
mixed
$evictCache
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
autoMapping()
Set to false to disable using route placeholders as lookup criteria when the primary key doesn't match the argument name
public
autoMapping(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisevictCache()
Set to true to fetch the entity from the database instead of using the cache, if any
public
evictCache(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>