EntityEnabled
Gestion d'un champs d'activation sur une entité Doctrine.
Table of Contents
Properties
- $enabled : mixed
Methods
- getEnabled() : bool|null
- Get the enabled state.
- isEnabled() : bool
- Get the enabled state.
- setEnabled() : self
- Set the enabled state.
Properties
$enabled
private
mixed
$enabled
= true
Tags
Methods
getEnabled()
Get the enabled state.
public
getEnabled() : bool|null
Return values
bool|nullisEnabled()
Get the enabled state.
public
isEnabled() : bool
Return values
boolsetEnabled()
Set the enabled state.
public
setEnabled(bool|null $enabled) : self
Parameters
- $enabled : bool|null