ikadar/test_app

1.0.6 2022-05-26 16:26 UTC

This package is auto-updated.

Last update: 2024-09-30 01:46:38 UTC


README

仅测试

  1. 安装 symfony 骨架项目
    composer create-project symfony/skeleton:"^5.4" my_project_directory
  1. 将控制器添加到 config/routes/annotations.yaml 中的配置,如下所示
    wheeltest:
     resource: ../../vendor/ikadar/wheeltest/src/Controller/
     type: annotation
  1. 在 config/services.yaml 中注册控制器作为服务,如下所示
    TestWheelApp\Controller\:
        resource: ../vendor/ikadar/wheeltest/src/Controller/
        tags: ['controller.service_arguments']```