Owl\Services\TemplateService::update PHP Method

update() public method

Update a template data.
public update ( $template_id, $template ) : Illuminate\Database\Eloquent\Model
$template_id int
$template object display_title, title, tags, body
return Illuminate\Database\Eloquent\Model
    public function update($template_id, $template)
    {
        return $this->templateRepo->updateTemplate($template_id, $template);
    }