function __construct($diff) { $this->diffSorter = new DiffSorter(); $this->diff = array_merge($diff['schema'], $diff['data']); }