From 1a5ba16ef939b90cfdb97454480ba2ae91d2b191 Mon Sep 17 00:00:00 2001 From: nkolosnjaj Date: Wed, 3 Jul 2024 10:18:19 +0200 Subject: [PATCH] Add the index controller --- .idea/.gitignore | 8 ++ .idea/guestbook.iml | 143 +++++++++++++++++++++ .idea/modules.xml | 8 ++ .idea/php.xml | 159 ++++++++++++++++++++++++ .idea/phpunit.xml | 10 ++ .idea/symfony2.xml | 6 + .idea/vcs.xml | 6 + php.ini | 1 + src/Controller/ConferenceController.php | 23 ++++ templates/conference/index.html.twig | 20 +++ 10 files changed, 384 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/guestbook.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/phpunit.xml create mode 100644 .idea/symfony2.xml create mode 100644 .idea/vcs.xml create mode 100644 src/Controller/ConferenceController.php create mode 100644 templates/conference/index.html.twig diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..13566b81 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/guestbook.iml b/.idea/guestbook.iml new file mode 100644 index 00000000..724647e6 --- /dev/null +++ b/.idea/guestbook.iml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..fe1dfe8a --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 00000000..70685a15 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/phpunit.xml b/.idea/phpunit.xml new file mode 100644 index 00000000..4f8104cf --- /dev/null +++ b/.idea/phpunit.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/symfony2.xml b/.idea/symfony2.xml new file mode 100644 index 00000000..bd98e409 --- /dev/null +++ b/.idea/symfony2.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/php.ini b/php.ini index 6efbd07c..803df31e 100644 --- a/php.ini +++ b/php.ini @@ -5,3 +5,4 @@ max_execution_time=30 session.use_strict_mode=On realpath_cache_ttl=3600 zend.detect_unicode=Off +xdebug.file_link_format = "phpstorm://open?file=%f&line=%l" \ No newline at end of file diff --git a/src/Controller/ConferenceController.php b/src/Controller/ConferenceController.php new file mode 100644 index 00000000..262396ee --- /dev/null +++ b/src/Controller/ConferenceController.php @@ -0,0 +1,23 @@ + + + + + + EOF + ); + } +} diff --git a/templates/conference/index.html.twig b/templates/conference/index.html.twig new file mode 100644 index 00000000..401adad0 --- /dev/null +++ b/templates/conference/index.html.twig @@ -0,0 +1,20 @@ +{% extends 'base.html.twig' %} + +{% block title %}Hello ConferenceController!{% endblock %} + +{% block body %} + + +
+

Hello {{ controller_name }}! ✅

+ + This friendly message is coming from: + +
+{% endblock %}