Documentation

DbBackendUserRoles extends Migration
in package

Table of Contents

$withinTransaction  : bool
Enables, if supported, wrapping the migration within a transaction.
$connection  : string
The name of the database connection to use.
down()  : mixed
getConnection()  : string
Get the migration connection name.
up()  : mixed
createSystemUserRoles()  : mixed
migratePermissionsFromGroupsToRoles()  : mixed
migratePreviousBuild()  : mixed
splicePermissionsForUser()  : mixed

Properties

$withinTransaction

Enables, if supported, wrapping the migration within a transaction.

public bool $withinTransaction = true

$connection

The name of the database connection to use.

protected string $connection

Methods

getConnection()

Get the migration connection name.

public getConnection() : string
Return values
string

splicePermissionsForUser()

protected splicePermissionsForUser(mixed $userId, mixed $permissions) : mixed
Parameters
$userId : mixed
$permissions : mixed
Return values
mixed

Search results