Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

services.yml

vendor/php-tuf/composer-stager/docs/services.yml

File

vendor/php-tuf/composer-stager/docs/services.yml

View source
  1. # This file provides a working example of configuring a Symfony service container to use Composer Stager.
  2. #
  3. # @see https://symfony.com/doc/current/service_container.html#creating-configuring-services-in-the-container
  4. ---
  5. services:
  6. _defaults:
  7. # Define services dependencies automatically (autowiring).
  8. # Manual wiring is brittle and therefore not officially supported.
  9. # @see https://symfony.com/doc/current/best_practices.html#use-autowiring-to-automate-the-configuration-of-application-services
  10. autowire: true
  11. # This makes Composer Stager classes available as services.
  12. PhpTuf\ComposerStager\:
  13. resource: '../vendor/php-tuf/composer-stager/src/*'
  14. # Some kinds of classes aren't meant to be accessed as services.
  15. exclude:
  16. - '../vendor/php-tuf/composer-stager/src/*/*/Value'
  17. - '../vendor/php-tuf/composer-stager/src/API/Exception'
  18. public: true
  19. # Composer Stager depends on services from these Symfony Components.
  20. Symfony\Component\Filesystem\Filesystem: ~
  21. Symfony\Component\Process\ExecutableFinder: ~
  22. Symfony\Component\Process\PhpExecutableFinder: ~

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal