Permalink
Browse files

Remove dangerous call to debug functions

Merge pull request #13 from dunglas/patch-3
  • Loading branch information...
lanthaler committed Jun 24, 2018
2 parents 1ad44ed + 75655f5 commit 1374c20e4ae2dc501c261ff7f3b6e9a2fa693f1d
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 1374c20

Please sign in to comment.