class PostInstallActions

Post install actions

Methods

static bool
run(Closure|null $onProgress = null, Closure|null $onProgressError = null)

Run post install actions

static bool
hasActions()

Check if pst actions fiel exist

static string
getPackageName(array $action)

Get action package name

static boolean
runAction(array $action)

Run action

static bool
setPrimaryPackage(string $name, string $type = 'extension')

Run set primary package action

Details

at line 27
static bool run(Closure|null $onProgress = null, Closure|null $onProgressError = null)

Run post install actions

Parameters

Closure|null $onProgress
Closure|null $onProgressError

Return Value

bool

at line 64
static bool hasActions()

Check if pst actions fiel exist

Return Value

bool

at line 75
static protected string getPackageName(array $action)

Get action package name

Parameters

array $action

Return Value

string

at line 89
static boolean runAction(array $action)

Run action

Parameters

array $action

Return Value

boolean

at line 116
static bool setPrimaryPackage(string $name, string $type = 'extension')

Run set primary package action

Parameters

string $name
string $type

Return Value

bool