TypeOfPracticeTree.php 546 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\ApiResources\Tree;
  4. use ApiPlatform\Metadata\ApiResource;
  5. use ApiPlatform\Metadata\Get;
  6. use App\Service\Utils\Tree\BaseResourceTree;
  7. use App\Service\Utils\Tree\ResourceTreeInterface;
  8. use App\State\Provider\Tree\TypeOfPracticeTreeProvider;
  9. #[ApiResource(
  10. operations: [
  11. new Get(
  12. uriTemplate: '/tree/type_of_practices',
  13. ),
  14. ],
  15. provider: TypeOfPracticeTreeProvider::class,
  16. )]
  17. class TypeOfPracticeTree extends BaseResourceTree implements ResourceTreeInterface
  18. {
  19. }