noahglaser/entitybundle

This bundle contains the base entity that has createdAt and updatedAt stamps plus lifecycle events. It also has File entity that is abstract that has a doctrine event attached to it that allows you to uplaod the file.

1.0.2 2015-06-17 00:20 UTC

This package is not auto-updated.

Last update: 2024-05-11 13:57:35 UTC


README

Installation Instructions

  1. Run -> composer require noahglaser/entitybundle:1.0.1
  2. Add NoahGlaser\EntityBundle\NoahGlaserEntityBundle() to your AppKernel under the register function.
  3. Then just entend the Base and User entity classes

This bundle contains two entities. One is a base entity which is abstract class that you can use for all entities. It has a primary key with column name id that auto increments. The we have createdAt and updateAt which use lifecycle callbacks to update the entity everytime is it peristed or updated

The next entity is the user entity that implements the AdvancedUserInterface and allows you to quickly build a user class that will allow you to quickly build an authenicated system.

Right now it passing all the phpspecs