dwo / traits
Installs: 406
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: ^8.1
This package is auto-updated.
Last update: 2023-04-16 12:57:10 UTC
README
A collection of traits to build quick and easy entities.
class FooEntity { use IdTrait, CreatedAtTrait, NameTrait, StateTrait; public function __construct() { $this->setCreatedAt(new \DateTimeImmutable()); $this->setState('init'); } }