PHP code example of siganushka / doctrine-contracts

1. Go to this page and download the library: Download siganushka/doctrine-contracts library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

siganushka / doctrine-contracts example snippets


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