PHP Class LazyRecord\Schema\Comparator\ColumnDiff

Datei anzeigen Open project: corneltek/lazyrecord Class Usage Examples

Public Properties

Property Type Description
$after Column Object
$before Column Object
$details
$flag Diff type (added or removed)
$name Column Name

Public Methods

Method Description
__construct ( $name, $flag, LazyRecord\Schema\ColumnAccessorInterface $before = null, LazyRecord\Schema\ColumnAccessorInterface $after = null )
appendDetail ( AttributeDiff $attributeDiff )
getAfterColumn ( )
getAfterOrBeforeColumn ( )
getBeforeColumn ( )
toColumnAttrsString ( )

Method Details

__construct() public method

public __construct ( $name, $flag, LazyRecord\Schema\ColumnAccessorInterface $before = null, LazyRecord\Schema\ColumnAccessorInterface $after = null )
$before LazyRecord\Schema\ColumnAccessorInterface
$after LazyRecord\Schema\ColumnAccessorInterface

appendDetail() public method

public appendDetail ( AttributeDiff $attributeDiff )
$attributeDiff AttributeDiff

getAfterColumn() public method

public getAfterColumn ( )

getAfterOrBeforeColumn() public method

getBeforeColumn() public method

public getBeforeColumn ( )

toColumnAttrsString() public method

public toColumnAttrsString ( )

Property Details

$after public_oe property

Column Object
public $after

$before public_oe property

Column Object
public $before

$details public_oe property

public $details

$flag public_oe property

Diff type (added or removed)
public $flag

$name public_oe property

Column Name
public $name