登录
ZH
games/webrtc-demo / config / services.yaml · commit 87ad512
imports:  # the samples of the extension (extensions/webrtc/doc/samples), run from their file by the IDE: absent from the published game (only games/<id>/ is), so a missing file is no error  - { resource: services_samples.yaml, ignore_errors: true }# Symfony dependency injection: every class of src/ is a service, constructors are autowired.# Scenes (JumPHP\Scene\Scene) are public automatically: SceneManager fetches them by class name.services:  _defaults:    autowire: true    autoconfigure: true    public: false  App\:    resource: '../src/*'    exclude: '../src/{Game,Net/LocalBackend.php}'   # plain classes, made with `new`