class Notice (View source)

Represents a notice related to a graphql Action. This could be a failure, warning, or recoverable query (e.g. "are you sure you want to publish this item?")

Methods

__construct(string $message, int $type, array $ids = [])

Notice constructor.

string
getType()

No description

$this
setType(string $type)

No description

array
getIDs()

No description

$this
setIDs(array $ids)

No description

string
getMessage()

No description

$this
setMessage(string $message)

No description

Details

__construct(string $message, int $type, array $ids = [])

Notice constructor.

Parameters

string $message
int $type
array $ids

string getType()

Return Value

string

$this setType(string $type)

Parameters

string $type

Return Value

$this

array getIDs()

Return Value

array

$this setIDs(array $ids)

Parameters

array $ids

Return Value

$this

string getMessage()

Return Value

string

$this setMessage(string $message)

Parameters

string $message

Return Value

$this