TIC\DormBundle\Traits\EntityEnabled
Gestion d'un champs d'activation sur une entité Doctrine.
Synopsis
trait EntityEnabled
{
- // members
- private boolean $enabled = true;
- // methods
- public bool isEnabled()
- public ?bool getEnabled()
- public EntityEnabled setEnabled()
Hierarchy
Members
private
- $enabled
Methods
public
- getEnabled() — Get the enabled state.
- isEnabled() — Get the enabled state.
- setEnabled() — Set the enabled state.