A PSR-20 compliant clock implementation for PHP, with support for time zones and a service provider for easy integration with Fast Forward Container.
    • Fastforward-Clock
      • Getting Started
        • Installation
        • Quickstart
      • Usage
        • Getting Services
        • Fast Forward Container
        • Testing with FrozenClock
        • Use Cases
      • Advanced Topics
        • Integration
        • Aliases
        • Customization
      • API Reference
        • ClockServiceProvider
        • SystemClock
        • FrozenClock
      • Links
        • Dependencies
        • Coverage and Reports
      • FAQ
      • Compatibility
    • Namespaces
      • FastForward
        • Clock
          • ServiceProvider
            • Factory
    • Packages
      • FastForward
        • Clock
    • Reports
      • Deprecated
      • Errors
      • Markers
    • Indices
      • Files

    Usage

    The usage section explains how to retrieve the provided services, how the aliases behave inside Fast Forward Container, and how to swap the default clock in tests.

    • Getting Services
    • Fast Forward Container
    • Testing with FrozenClock
    • Use Cases
    Search results