From 694f4f0970d7d4935778099ca29b860af343a931 Mon Sep 17 00:00:00 2001 From: Kayn Ty Date: Fri, 16 Mar 2018 14:10:15 +0100 Subject: [PATCH] json send --- .idea/php.xml | 4 + .idea/sf4-test.iml | 4 + .idea/workspace.xml | 481 ++++++++++++++++----------- composer.json | 1 + composer.lock | 251 +++++++++++++- config/bundles.php | 1 + config/packages/fos_rest.yaml | 15 + src/Controller/ProductController.php | 31 +- src/Entity/ProductCategory.php | 1 - symfony.lock | 18 + templates/product/index.html.twig | 12 +- templates/product/test.html.twig | 1 + 12 files changed, 604 insertions(+), 216 deletions(-) create mode 100644 config/packages/fos_rest.yaml create mode 100644 templates/product/test.html.twig diff --git a/.idea/php.xml b/.idea/php.xml index c53426a2..e1941cfa 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -94,6 +94,10 @@ + + + + diff --git a/.idea/sf4-test.iml b/.idea/sf4-test.iml index af68339b..0e13db33 100644 --- a/.idea/sf4-test.iml +++ b/.idea/sf4-test.iml @@ -23,6 +23,7 @@ + @@ -83,6 +84,7 @@ + @@ -94,6 +96,8 @@ + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cb369757..d92a0626 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,16 @@ - + + + - + + + + + + - - - - - - - - - - - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -106,21 +91,24 @@ @@ -128,6 +116,12 @@ + + true + + true + true + true DEFINITION_ORDER @@ -232,16 +226,20 @@ + + + + - -