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

getById() public method

Get template data by id.
public getById ( $template_id ) : stdClass
$template_id int template_id
return stdClass
    public function getById($template_id)
    {
        return \DB::table($this->getTableName())->where($this->getTableName() . '.id', $template_id)->first();
    }