Permalink
Browse files

Remove dangerous call to debug functions

  • Loading branch information...
dunglas committed Jun 19, 2018
1 parent 1ad44ed commit 75655f517e04748af61d1c7bba23474eb5b829e1
Showing with 0 additions and 14 deletions.
  1. +0 −14 Controller/DocumentationGeneratorController.php
@@ -34,20 +34,6 @@ public function indexAction()
return $documentation;
}
/**
* Generates the service documentation
*
* @Route("/api-documentation/vardump")
* @Template()
*/
public function vardumpAction()
{
$documentation = $this->get('hydra.api')->getDocumentation();
ini_set('xdebug.var_display_max_depth', '10');
die(var_dump($documentation));
}
/**
* Generates the service documentation
*

0 comments on commit 75655f5

Please sign in to comment.