You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
591 B
23 lines
591 B
<?php
|
|
namespace App\Controller;
|
|
|
|
use App\Entity\Emoji;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
class EmojiController extends AbstractController
|
|
{
|
|
#[Route('/emoji', name: 'app_emoji')]
|
|
public function index(): Response
|
|
{
|
|
return $this->render('emoji/index.html.twig', [
|
|
'controller_name' => 'EmojiController',
|
|
]);
|
|
}
|
|
|
|
public function reproduceEmoji(Emoji $emoji1, Emoji $emoji2): Emoji {
|
|
return new Emoji();
|
|
}
|
|
}
|