Owl\Repositories\Fluent\TemplateRepository::destroy PHP Method

destroy() public method

Delete a tempalte data.
public destroy ( $template_id ) : boolean
$template_id int template_id
return boolean
    public function destroy($template_id)
    {
        $object = array();
        $wkey["id"] = $template_id;
        $ret = $this->delete($wkey);
        return $ret;
    }