siganushka/doctrine-contracts

A set of abstractions for doctrine.

0.1.2 2022-06-21 08:38 UTC

This package is auto-updated.

Last update: 2022-06-21 08:39:53 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