Documentation

PropertyHook
in package

Table of Contents

Properties

$example  : string
$modified  : bool

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

Methods

__construct()

public __construct([string $example = 'default value' ]) : mixed
Parameters
$example : string = 'default value'

this is my property


        
On this page

Search results