2013-04-12 17:05:13 +02:00
|
|
|
<?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;
|
|
|
|
|
2024-10-01 23:00:23 +03:00
|
|
|
use Nelmio\ApiDocBundle\Attribute\ApiDoc;
|
2013-04-16 13:46:15 +02:00
|
|
|
use Symfony\Component\Routing\Route;
|
|
|
|
|
2013-04-12 17:05:13 +02:00
|
|
|
interface HandlerInterface
|
|
|
|
{
|
2013-04-17 13:41:28 +02:00
|
|
|
/**
|
|
|
|
* Parse route parameters in order to populate ApiDoc.
|
|
|
|
*/
|
2024-10-01 17:43:18 +03:00
|
|
|
public function handle(ApiDoc $annotation, Route $route, \ReflectionMethod $method);
|
2013-04-12 17:05:13 +02:00
|
|
|
}
|