siganushka/doctrine-contracts

A set of abstractions for doctrine.

0.1.4 2024-05-07 08:51 UTC

This package is auto-updated.

Last update: 2024-12-07 07:02:39 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 tools/vendor/bin/simple-phpunit --debug