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

getById() public method

Get template data by id.
public getById ( $template_id ) : Illuminate\Database\Eloquent\Collection
$template_id int template_id
return Illuminate\Database\Eloquent\Collection | Illuminate\Database\Eloquent\Builder
    public function getById($template_id)
    {
        return $this->template->where('id', $template_id)->first();
    }