mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-01 21:06:15 +03:00
Help php opcache.preload to load Swagger annotation class
This commit is contained in:
parent
97530a6eee
commit
f450cd29fb
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ use Swagger\Annotations as SWG;
|
|||
use Swagger\Context;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
|
||||
// Help opcache.preload discover Swagger\Annotations\Swagger
|
||||
class_exists(SWG\Swagger::class);
|
||||
|
||||
final class SwaggerPhpDescriber implements ModelRegistryAwareInterface
|
||||
{
|
||||
use ModelRegistryAwareTrait;
|
||||
|
|
Loading…
Add table
Reference in a new issue