PHP Class lazyrecord\schema\Comparator

Datei anzeigen Open project: corneltek/lazyrecord Class Usage Examples

Protected Properties

Property Type Description
$driver

Public Methods

Method Description
__construct ( BaseDriver $driver )
compare ( SchemaInterface $before, SchemaInterface $after ) compare two schemas.

Method Details

__construct() public method

public __construct ( BaseDriver $driver )
$driver SQLBuilder\Driver\BaseDriver

compare() public method

compare two schemas.
public compare ( SchemaInterface $before, SchemaInterface $after )
$before SchemaInterface schema before
$after SchemaInterface new schema

Property Details

$driver protected_oe property

protected $driver