thunbolt / doctrine-timestamp
There is no license information available for the latest version (v4.0.0) of this package.
v4.0.0
2020-01-04 19:12 UTC
Requires
- php: >= 7.1
- nette/di: ^2.3 || ^3.0
Requires (Dev)
- kdyby/doctrine: ^3.2
This package is auto-updated.
Last update: 2024-12-05 06:20:04 UTC
README
Usage
extensions: - Thunbolt\Doctrine\DI\TimestampExtension
For created and updated fields:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\Timestamp; }
For created:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\TimestampCreated; }
For updated:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\TimestampUpdated; }