Properties

$id

$id : integer

Type

integer

$alias

$alias : string

Type

string

$entity

$entity : string

Type

string

$description

$description : string

Type

string

$isVisible

$isVisible : boolean

Type

boolean

$isEnabled

$isEnabled : boolean

Type

boolean

$created

$created : \Datetime

Type

\Datetime

$updated

$updated : \Datetime

Type

\Datetime

$comments

$comments : 

Type

Methods

__construct()

__construct() 

Initialize the comments variable.

getComments()

getComments() : \Doctrine\Common\Collections\ArrayCollection

Returns

\Doctrine\Common\Collections\ArrayCollection

updatedTimestamps()

updatedTimestamps() 

Now we tell doctrine that before we persist or update we call the updatedTimestamps() function.

setId()

setId(integer  $id) : void

Set id.

Parameters

integer $id

getId()

getId() : integer

Get id.

Returns

integer

setDescription()

setDescription(string  $description) : void

Set description

Parameters

string $description

getDescription()

getDescription() : string

Get description.

Returns

string

setAlias()

setAlias(integer  $alias) : void

Set alias.

Parameters

integer $alias

getAlias()

getAlias() : string

Get alias.

Returns

string

setEntity()

setEntity(  $entity) : void

Set entity.

Parameters

$entity

getEntity()

getEntity() : string

Get entity.

Returns

string

setIsVisible()

setIsVisible(integer  $visible) : void

Set visibleComment.

Parameters

integer $visible

getIsVisible()

getIsVisible() : integer

Get visibleComment.

Returns

integer

setIsEnabled()

setIsEnabled(integer  $isEnabled) : void

Set enabledComment.

Parameters

integer $isEnabled

getIsEnabled()

getIsEnabled() : integer

Get enabledComment.

Returns

integer

setCreated()

setCreated(string  $created) : void

Set created.

Parameters

string $created

getCreated()

getCreated() : string

Get created.

Returns

string

getUpdated()

getUpdated() : string

Get updated.

Returns

string

setUpdated()

setUpdated(string  $updated) : void

Set $updated.

Parameters

string $updated

toArray()

toArray() : array

Returns

array