SetupResult
in package
implements
JsonSerializable
Tags
Table of Contents
Interfaces
- JsonSerializable
Constants
Properties
- $description : string|null
- $descriptionParameters : array<string|int, mixed>|null
- $linkToDoc : string|null
- $name : string|null
- $severity : string
Methods
- error() : self
- getDescription() : string|null
- getDescriptionParameters() : array<string|int, mixed>|null
- getLinkToDoc() : string|null
- getName() : string|null
- getSeverity() : self::SUCCESS|self::INFO|self::WARNING|self::ERROR
- info() : self
- jsonSerialize() : array<string|int, mixed>
- setName() : void
- success() : self
- warning() : self
- __construct() : mixed
Constants
ERROR
public
mixed
ERROR
= 'error'
Tags
INFO
public
mixed
INFO
= 'info'
Tags
SUCCESS
public
mixed
SUCCESS
= 'success'
Tags
WARNING
public
mixed
WARNING
= 'warning'
Tags
Properties
$description
private
string|null
$description
= null
$descriptionParameters
private
array<string|int, mixed>|null
$descriptionParameters
= null
$linkToDoc
private
string|null
$linkToDoc
= null
$name
private
string|null
$name
= null
$severity
private
string
$severity
Methods
error()
public
static error([string|null $description = null ][, string|null $linkToDoc = null ][, array<string|int, mixed>|null $descriptionParameters = null ]) : self
Parameters
- $description : string|null = null
-
Translated detailed description to display to the user
- $linkToDoc : string|null = null
-
URI of related relevent documentation, be it from Nextcloud or another project
- $descriptionParameters : array<string|int, mixed>|null = null
Tags
Return values
selfgetDescription()
public
getDescription() : string|null
Tags
Return values
string|nullgetDescriptionParameters()
public
getDescriptionParameters() : array<string|int, mixed>|null
Tags
Return values
array<string|int, mixed>|nullgetLinkToDoc()
public
getLinkToDoc() : string|null
Tags
Return values
string|nullgetName()
public
getName() : string|null
Tags
Return values
string|nullgetSeverity()
public
getSeverity() : self::SUCCESS|self::INFO|self::WARNING|self::ERROR
Tags
Return values
self::SUCCESS|self::INFO|self::WARNING|self::ERRORinfo()
public
static info([string|null $description = null ][, string|null $linkToDoc = null ][, array<string|int, mixed>|null $descriptionParameters = null ]) : self
Parameters
- $description : string|null = null
-
Translated detailed description to display to the user
- $linkToDoc : string|null = null
-
URI of related relevent documentation, be it from Nextcloud or another project
- $descriptionParameters : array<string|int, mixed>|null = null
Tags
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>setName()
public
setName(string $name) : void
Parameters
- $name : string
Tags
success()
public
static success([string|null $description = null ][, string|null $linkToDoc = null ][, array<string|int, mixed>|null $descriptionParameters = null ]) : self
Parameters
- $description : string|null = null
-
Translated detailed description to display to the user
- $linkToDoc : string|null = null
-
URI of related relevent documentation, be it from Nextcloud or another project
- $descriptionParameters : array<string|int, mixed>|null = null
Tags
Return values
selfwarning()
public
static warning([string|null $description = null ][, string|null $linkToDoc = null ][, array<string|int, mixed>|null $descriptionParameters = null ]) : self
Parameters
- $description : string|null = null
-
Translated detailed description to display to the user
- $linkToDoc : string|null = null
-
URI of related relevent documentation, be it from Nextcloud or another project
- $descriptionParameters : array<string|int, mixed>|null = null
Tags
Return values
self__construct()
private
__construct(self::SUCCESS|self::INFO|self::WARNING|self::ERROR $severity[, string|null $description = null ][, array<string, array<string, string>> $descriptionParameters = null ][, string|null $linkToDoc = null ]) : mixed
Parameters
- $severity : self::SUCCESS|self::INFO|self::WARNING|self::ERROR
- $description : string|null = null
- $descriptionParameters : array<string, array<string, string>> = null
- $linkToDoc : string|null = null