PHP Class LazyRecord\Schema\Comparator\ColumnDiff

Afficher le fichier Open project: corneltek/lazyrecord Class Usage Examples

Méthodes publiques

Свойство Type Description
$after Column Object
$before Column Object
$details
$flag Diff type (added or removed)
$name Column Name

Méthodes publiques

Méthode 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 méthode

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

appendDetail() public méthode

public appendDetail ( AttributeDiff $attributeDiff )
$attributeDiff AttributeDiff

getAfterColumn() public méthode

public getAfterColumn ( )

getAfterOrBeforeColumn() public méthode

getBeforeColumn() public méthode

public getBeforeColumn ( )

toColumnAttrsString() public méthode

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