\Dewdrop\MultiInstanceDbdeploy

Class Dbdeploy

Summary

Methods
Properties
Constants
__construct()
setChangesetPath()
getChangesets()
update()
status()
backfill()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
detectChangesetPath()
getCliExec()
getChangeLogGateway()
$config
$changesetPath
$adapter
$paths
N/A

Properties

$config

$config : array

Type

array

$changesetPath

$changesetPath : string

Type

string

Methods

__construct()

__construct(array  $config, \Dewdrop\Db\Adapter  $adapter, null  $changesetPath = null) 

Dbdeploy constructor.

Parameters

array $config
\Dewdrop\Db\Adapter $adapter
null $changesetPath

Throws

\Dewdrop\MultiInstance\Exception

setChangesetPath()

setChangesetPath(  $changesetPath) : $this

Parameters

$changesetPath

Returns

$this

getChangesets()

getChangesets() : array

Returns

array

backfill()

backfill(  $changeset,   $revision) : \Dewdrop\Db\Dbdeploy\Command\Backfill

Parameters

$changeset
$revision

Throws

\Dewdrop\Db\Dbdeploy\Exception

Returns

\Dewdrop\Db\Dbdeploy\Command\Backfill

detectChangesetPath()

detectChangesetPath() : mixed

Throws

\Dewdrop\MultiInstance\Exception

Returns

mixed