Sf TIC Bundles

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
ORM\Column

(type="boolean", options={"default"=true})

Methods

getEnabled()

Get the enabled state.

public getEnabled() : bool|null
Return values
bool|null

isEnabled()

Get the enabled state.

public isEnabled() : bool
Return values
bool

setEnabled()

Set the enabled state.

public setEnabled(bool|null $enabled) : self
Parameters
$enabled : bool|null
Return values
self

        
On this page

Search results