src/Controller/DefaultController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Contracts\Translation\TranslatorInterface;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
  8. use Symfony\Component\HttpFoundation\Response;
  9. class DefaultController extends AbstractController
  10. {
  11.     public function index()
  12.     {
  13.         return new Response(
  14.             '<html><body>Hello from Platforma Apps!</body></html>'
  15.         );
  16.     }
  17. }