Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Sascha Loishandl
Added: Dec 17, 2019 12:48 PM
Modified: Dec 17, 2019 1:00 PM
Views: 13
Tags: symfony
  1. /**
  2.   * @Route("/yourfunction", name="yourFunction")
  3.   *
  4.   * Description
  5.   *
  6.   * @param Class        $var    Description
  7.   *
  8.   * @throws Some_Exception
  9.   * @author
  10.   * @return
  11.   */
  12. public function yourFunction() {
  13.        
  14.         return new Response("OK", 200);
  15. }