Nextcloud PHP API (master)

IMigrationStep

Tags
since
13.0.0

Table of Contents

Methods

changeSchema()  : null|ISchemaWrapper
description()  : string
Human-readable description of the migration step
name()  : string
Human-readable name of the migration step
postSchemaChange()  : mixed
preSchemaChange()  : mixed

Methods

changeSchema()

public changeSchema(IOutput $output, Closure $schemaClosure, array<string|int, mixed> $options) : null|ISchemaWrapper
Parameters
$output : IOutput
$schemaClosure : Closure

The \Closure returns a ISchemaWrapper

$options : array<string|int, mixed>
Tags
psalm-param

Closure():ISchemaWrapper $schemaClosure

since
13.0.0
Return values
null|ISchemaWrapper

description()

Human-readable description of the migration step

public description() : string
Tags
since
14.0.0
Return values
string

name()

Human-readable name of the migration step

public name() : string
Tags
since
14.0.0
Return values
string

postSchemaChange()

public postSchemaChange(IOutput $output, Closure $schemaClosure, array<string|int, mixed> $options) : mixed
Parameters
$output : IOutput
$schemaClosure : Closure

The \Closure returns a ISchemaWrapper

$options : array<string|int, mixed>
Tags
psalm-param

Closure():ISchemaWrapper $schemaClosure

since
13.0.0

preSchemaChange()

public preSchemaChange(IOutput $output, Closure $schemaClosure, array<string|int, mixed> $options) : mixed
Parameters
$output : IOutput
$schemaClosure : Closure

The \Closure returns a ISchemaWrapper

$options : array<string|int, mixed>
Tags
psalm-param

Closure():ISchemaWrapper $schemaClosure

since
13.0.0

        
On this page

Search results