Skip to content

About

A set of useful trait to compose Doctrine entities

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine Trait

A set of useful trait to compose Doctrine entities. At the moment the package include following traits:

  • LocalizableEntity : Localization of an entity based on its coordinate.
  • SlugableEntity : Add a name and a slug property to an entity and compute the slug based on the name with lifecycle callbacks.
  • TimestampableEntity : Add a createdAt and updatedAt property and update them with lifecycle callbacks.

Warning

The following traits need to add lifecycle callbacks to the hosting entity:

  • SlugableEntity
  • TimestampableEntity

About

A set of useful trait to compose Doctrine entities

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages