Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Amp
Struct
PHP Trait Amp\Struct
This trait is intended to make using public properties a little safer by throwing when nonexistent property names are read or written.
Afficher le fichier
Open project: amphp/amp
Méthodes publiques
Méthode
Description
__get
(
string
$property
)
__set
(
string
$property
,
$value
)
Private Methods
Méthode
Description
generateStructPropertyError
(
string
$property
) :
string
suggestPropertyName
(
string
$badProperty
) :
string
Method Details
__get()
public
méthode
public
__get
(
string
$property
)
$property
string
__set()
public
méthode
public
__set
(
string
$property
,
$value
)
$property
string