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-11-19 08:05:09 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