Phalcon time
NOTE
All classes are prefixed with Phalcon
Time\Clock\ClockInterface
¶
-
Namespace
Phalcon\Time\Clock
-
Uses
DateTimeImmutable
-
Extends
-
Implements
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Implementation of this file has been influenced by lcobucci/clock
@link https://github.com/lcobucci/clock @license https://github.com/lcobucci/clock/blob/3.7.x/LICENSE
Methods¶
Time\Clock\Exception¶
-
Namespace
Phalcon\Time\Clock
-
Uses
Throwable
-
Extends
\Exception -
Implements
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Implementation of this file has been influenced by lcobucci/clock
@link https://github.com/lcobucci/clock @license https://github.com/lcobucci/clock/blob/3.7.x/LICENSE
Methods¶
Time\Clock\FrozenClock
¶
-
Namespace
Phalcon\Time\Clock
-
Uses
DateTimeImmutableDateTimeZoneThrowable
-
Extends
-
Implements
ClockInterface
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Implementation of this file has been influenced by lcobucci/clock
@link https://github.com/lcobucci/clock @license https://github.com/lcobucci/clock/blob/3.7.x/LICENSE
Properties¶
Methods¶
Mutates the clock to a new value. All consumers receive the same modification@throws Exception When the modifier string cannot be parsed
Return a new object of now with the current timezone Return a new object of now with UTC Return the current clock Sets the clock to a new value. All consumers receive the same modificationTime\Clock\SystemClock
¶
-
Namespace
Phalcon\Time\Clock
-
Uses
DateTimeImmutableDateTimeZone
-
Extends
-
Implements
ClockInterface
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Implementation of this file has been influenced by lcobucci/clock
@link https://github.com/lcobucci/clock @license https://github.com/lcobucci/clock/blob/3.7.x/LICENSE