\Cake\Chronos\TraitsMagicPropertyTrait

Provides the magic methods that allow read access to magic properties.

Summary

Methods
Properties
Constants
__get()
__isset()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__get()

__get(string  $name) : string|integer|\DateTimeZone

Get a part of the ChronosInterface object

Parameters

string $name

The property name to read.

Throws

\InvalidArgumentException

Returns

string|integer|\DateTimeZone —

The property value.

__isset()

__isset(string  $name) : boolean

Check if an attribute exists on the object

Parameters

string $name

The property name to check.

Returns

boolean —

Whether or not the property exists.