PropertyHook
in package
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$example virtual
public
string
$example
= 'default value'
this is my property
Attributes
- #[Property]
- new DateTimeImmutable()
Hooks
public
string
get
Not sure this works, but it gets
Attributes
- #[Getter]
- new DateTimeImmutable()
public
set
Not sure this works, but it sets
Attributes
- #[Setter]
- new DateTimeImmutable()
Parameters
- $value : string|int
$modified
private
bool
$modified
= \false
Methods
__construct()
public
__construct([string $example = 'default value' ]) : mixed
Parameters
- $example : string = 'default value'
-
this is my property