<?php
namespace App\Controller\Frontend;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Doctrine\ORM\EntityManagerInterface;
use App\Service\TextHelper;
use App\Entity\File;
use App\Service\UrlHelper;
class TopheaderController extends AbstractController {
public function __construct() {
// echo 'We can use __contruct<br />';
}
public function index(Request $request, TextHelper $textHelper, UrlHelper $urlHelper) {
return $this->render('Frontend/common/topHeader.html.twig');
}
}