Documentation

ApprovableText
in package
uses IdentifiableTrait

Attributes
#[Entity]

Table of Contents

Properties

$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$message  : string
The message accompanying the state of the approval.

Methods

__construct()  : mixed
getId()  : int|null
Get the identifier of the object.
getMessage()  : string
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setMessage()  : void

Properties

$id

The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.

protected int|null $id = null
Attributes
#[Column]
$type: 'integer'
#[GeneratedValue]
$strategy: 'IDENTITY'
#[Id]

$message

The message accompanying the state of the approval.

protected string $message
Attributes
#[Column]
$type: 'string'

Methods

__construct()

public __construct(string $message) : mixed
Parameters
$message : string

getId()

Get the identifier of the object.

public getId() : int|null
Tags
psalm-ignore-nullable-return
Return values
int|null

setId()

Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!

public setId(int|null $id) : void
Parameters
$id : int|null

setMessage()

public setMessage(string $message) : void
Parameters
$message : string

        
On this page

Search results