protected function getContents() { $field = $this->config->get('db-blade-compiler.model_property'); $this->path->{$field} = $this->content_field; return parent::getContents(); }
protected function getContents() { /** * This property will be added to models being compiled with StringView * to keep track of which field in the model is being compiled */ $this->path->__string_blade_compiler_template_field = $this->template_field; return parent::getContents(); }