/** * Prepares this model for any other existing Model. * * The original does not have to use the FluentBuilderTrait. * * @param Model $model * * @return DynamicFluentModel */ public function withModel(Model $model) { return $this->withTable($model->getTableName(), $model->getPrimaryKeyName(), $model->getColumns()); }