ThrowOnInvalidProperty
in package
FinalYes
Tells the magic get/set methods whether to throw when a properety is inaccessible
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_CLASS
Table of Contents
Properties
- $throwOnInvalid : bool
Methods
- __construct() : mixed
Properties
$throwOnInvalid read-only
public
bool
$throwOnInvalid
Methods
__construct()
public
__construct(bool $throwOnInvalid) : mixed
Parameters
- $throwOnInvalid : bool