public function addMessage($tableName, $message) { $this->pending[$tableName] = true; $this->messages[$tableName][] = $message; }