thunbolt/doctrine-timestamp

There is no license information available for the latest version (v4.0.0) of this package.

Installs: 325

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/thunbolt/doctrine-timestamp

v4.0.0 2020-01-04 19:12 UTC

This package is auto-updated.

Last update: 2025-10-05 08:03:46 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;

}