vendor/nelmio/api-doc-bundle/PropertyDescriber/PropertyDescriberInterface.php line 22

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the NelmioApiDocBundle package.
  4. *
  5. * (c) Nelmio
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Nelmio\ApiDocBundle\PropertyDescriber;
  11. use OpenApi\Annotations\Schema;
  12. use Symfony\Component\PropertyInfo\Type;
  13. interface PropertyDescriberInterface
  14. {
  15. /**
  16. * @param Type[] $types
  17. */
  18. public function describe(array $types, Schema $property, array $groups = null);
  19. /**
  20. * @param Type[] $types
  21. */
  22. public function supports(array $types): bool;
  23. }