Owl\Repositories\Fluent\TemplateRepository::getById PHP Méthode

getById() public méthode

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