chebur/datetime-factory

DateTimeFactoryInterface with mutable and immutable implementations

0.0.2 2020-05-25 10:05 UTC

This package is not auto-updated.

Last update: 2024-12-17 08:34:51 UTC


README

PHP requirements Latest version Total downloads License

Installation

Require it with composer:

composer require chebur/datetime-factory

Configuration

Symfony

services:
    # Alias
    Chebur\DateTimeFactory\DateTimeFactoryInterface: '@chebur.datetime_factory'

    # Service implementing DateTimeFactoryInterface, you can change it with your own implementation
    chebur.datetime_factory:
        class: Chebur\DateTimeFactory\DateTimeFactory