ApiDocController.php 685 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of Packagist.
  4. *
  5. * (c) Jordi Boggiano <j.boggiano@seld.be>
  6. * Nils Adermann <naderman@naderman.de>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Packagist\WebBundle\Controller;
  12. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
  13. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  14. /**
  15. * @author Jordi Boggiano <j.boggiano@seld.be>
  16. */
  17. class ApiDocController extends Controller
  18. {
  19. /**
  20. * @Template()
  21. * @Route("/apidoc", name="api_doc")
  22. */
  23. public function indexAction()
  24. {
  25. return array();
  26. }
  27. }