Compare
Table of Contents
Methods
- diff() : array<string|int, mixed>
- Compares two database schemas and returns array of pairs.
Methods
diff()
Compares two database schemas and returns array of pairs.
public
static diff(Schema $source, Schema $target) : array<string|int, mixed>
Pair is the two element array: - First element with index "0" is the object from the source collection. - Second element with index "1" is the object from $targetList. - if pair element is null when no such element found (by name) in the collection.