siganushka/doctrine-contracts

A set of abstractions for doctrine.

0.1.3 2023-09-05 06:36 UTC

This package is auto-updated.

Last update: 2024-02-03 12:37:49 UTC


README

A set of abstractions for doctrine.

Installation

$ composer require siganushka/doctrine-contracts

Interfaces & Traits

Siganushka\Contracts\Doctrine\ResourceInterface
Siganushka\Contracts\Doctrine\ResourceTrait

Siganushka\Contracts\Doctrine\EnableInterface
Siganushka\Contracts\Doctrine\EnableTrait

Siganushka\Contracts\Doctrine\SortableInterface
Siganushka\Contracts\Doctrine\SortableTrait

Siganushka\Contracts\Doctrine\TimestampableInterface
Siganushka\Contracts\Doctrine\TimestampableTrait

Siganushka\Contracts\Doctrine\VersionableInterface
Siganushka\Contracts\Doctrine\VersionableTrait

Tests

$ php vendor/bin/simple-phpunit --debug