class ExecutionResult (View source)

The ExecutionResult class is responsible for storing the result of a migration version after it executes.

Methods

__construct(array $sql = [], array $params = [], array $types = [])

No description

hasSql()

No description

string[]
getSql()

No description

setSql(array $sql)

No description

mixed[]
getParams()

No description

setParams(array $params)

No description

mixed[]
getTypes()

No description

setTypes(array $types)

No description

getTime()

No description

setTime(float $time)

No description

getMemory()

No description

setMemory(float $memory)

No description

setSkipped(bool $skipped)

No description

isSkipped()

No description

setError(bool $error)

No description

hasError()

No description

setException(Throwable $exception)

No description

getException()

No description

Details

__construct(array $sql = [], array $params = [], array $types = [])

Parameters

array $sql
array $params
array $types

hasSql()

string[] getSql()

Return Value

string[]

setSql(array $sql)

Parameters

array $sql

mixed[] getParams()

Return Value

mixed[]

setParams(array $params)

Parameters

array $params

mixed[] getTypes()

Return Value

mixed[]

setTypes(array $types)

Parameters

array $types

getTime()

setTime(float $time)

Parameters

float $time

getMemory()

setMemory(float $memory)

Parameters

float $memory

setSkipped(bool $skipped)

Parameters

bool $skipped

isSkipped()

setError(bool $error)

Parameters

bool $error

hasError()

setException(Throwable $exception)

Parameters

Throwable $exception

getException()