NelmioApiDocBundle/Extractor/HandlerInterface.php

29 lines
823 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the NelmioApiDocBundle.
*
* (c) Nelmio <hello@nelm.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Extractor;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
2013-04-16 13:46:15 +02:00
use Symfony\Component\Routing\Route;
interface HandlerInterface
{
2013-04-17 13:41:28 +02:00
/**
* Parse route parameters in order to populate ApiDoc.
*
* @param \Nelmio\ApiDocBundle\Annotation\ApiDoc $annotation
2015-03-06 11:19:08 +01:00
* @param array $annotations
* @param \Symfony\Component\Routing\Route $route
* @param \ReflectionMethod $method
2013-04-17 13:41:28 +02:00
*/
2013-04-17 14:24:45 +02:00
public function handle(ApiDoc $annotation, array $annotations, Route $route, \ReflectionMethod $method);
}