Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cake
Chronos
Traits
MagicPropertyTrait
PHP Trait Cake\Chronos\Traits\MagicPropertyTrait
Show file
Open project: cakephp/chronos
Public Methods
Method
Description
__get
(
string
$name
) :
string
|
integer
| DateTimeZone
Get a part of the ChronosInterface object
__isset
(
string
$name
) :
boolean
Check if an attribute exists on the object
Method Details
__get()
public
method
Get a part of the ChronosInterface object
public
__get
(
string
$name
) :
string
|
integer
| DateTimeZone
$name
string
The property name to read.
return
string
|
integer
| DateTimeZone
The property value.
__isset()
public
method
Check if an attribute exists on the object
public
__isset
(
string
$name
) :
boolean
$name
string
The property name to check.
return
boolean
Whether or not the property exists.