/** * Fill the property table in a well format for the process method. * * @param TableInterface $table The validated table name. * * @throws \Exception Statements table method have to be invoked, otherwise the builder can not build a valid query. */ private function _prepareTable(TableInterface $table) { $this->table = ' ' . $table->getTableName() . ' '; }
/** * Prepare the table property to set it to the query. * * @param TableInterface $table The table object with filled properties. * * @return $this The same instance to concatenate methods. */ private function _prepareTable(TableInterface $table) { $this->table = $table->getTableName(); return $this; }