public function __construct(Builder $parent, DataModel $model, $viewName) { $this->builder = $parent; $this->model = $model; $this->viewName = $viewName; }