Nextcloud PHP API (master)

GenericMigrationAttribute extends MigrationAttribute
in package
implements JsonSerializable

generic entry, used to replace migration attribute not yet known in current version but used in a future release

Tags
since
30.0.0

Table of Contents

Interfaces

JsonSerializable

Properties

$description  : string
$details  : array<string|int, mixed>
$notes  : array<string|int, mixed>
$table  : string

Methods

__construct()  : mixed
definition()  : string
getDescription()  : string
getNotes()  : array<string|int, mixed>
getTable()  : string
import()  : self
jsonSerialize()  : array<string|int, mixed>
setDescription()  : $this
setNotes()  : $this
setTable()  : $this

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $details = [] ]) : mixed
Parameters
$details : array<string|int, mixed> = []
Tags
since
30.0.0

getDescription()

public getDescription() : string
Tags
since
30.0.0
Return values
string

getNotes()

public getNotes() : array<string|int, mixed>
Tags
since
30.0.0
Return values
array<string|int, mixed>

import()

public import(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Tags
since
30.0.0
Return values
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
since
30.0.0
Return values
array<string|int, mixed>

setDescription()

public setDescription(string $description) : $this
Parameters
$description : string
Tags
since
30.0.0
Return values
$this

setNotes()

public setNotes(array<string|int, mixed> $notes) : $this
Parameters
$notes : array<string|int, mixed>
Tags
since
30.0.0
Return values
$this

setTable()

public setTable(string $table) : $this
Parameters
$table : string
Tags
since
30.0.0
Return values
$this

        
On this page

Search results