public final function RemoveTable(ITable $Table) { unset($this->Tables[$Table->GetName()]); array_walk($Table->GetColumns(), [$this, 'RemoveColumn']); }
private function InvalidTable(ITable $Table) { return new InvalidTableException('The supplied table is not part of this result row, expecting on of %s: %s given', implode(', ', array_keys($this->Rows)), $Table->GetName()); }
/** * Add a table to the criterion. * * @param ITable $Table The table to add * @return void */ public final function AddTable(ITable $Table) { $this->Tables[$Table->GetName()] = $Table; }