public function __construct(TemplateRepositoryInterface $templateRepo) { $this->templateRepo = $templateRepo; }