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
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
$description
private
string
$description
= ''
$details read-only
private
array<string|int, mixed>
$details
= []
$notes
private
array<string|int, mixed>
$notes
= []
$table
private
string
$table
Methods
__construct()
public
__construct([array<string|int, mixed> $details = [] ]) : mixed
Parameters
- $details : array<string|int, mixed> = []
Tags
definition()
public
definition() : string
Tags
Return values
stringgetDescription()
public
getDescription() : string
Tags
Return values
stringgetNotes()
public
getNotes() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getTable()
public
getTable() : string
Tags
Return values
stringimport()
public
import(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Tags
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>setDescription()
public
setDescription(string $description) : $this
Parameters
- $description : string
Tags
Return values
$thissetNotes()
public
setNotes(array<string|int, mixed> $notes) : $this
Parameters
- $notes : array<string|int, mixed>
Tags
Return values
$thissetTable()
public
setTable(string $table) : $this
Parameters
- $table : string