get(ReasonRepository::class); list($reasons, $variations) = $reasonRepository->findByProject('php'); // Output template with given template variables. echo $template->render('pages/quick_fix_desc.php', [ 'reasons' => $reasons, 'variations' => $variations, ]);