forked from drush-ops/drush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
drush-services.yml
45 lines (45 loc) · 1.29 KB
/
drush-services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Drush services
#
# This file defines the core Drush service classes.
#
services:
#
# logger:
# Write messages to the error log. Note that the Drush logger conforms
# to the Psr/Log standard, but has been enhanced to support backend
# invoke (the remote end can write logs to the initiating end in real
# time, and still return structured results at the end.)
#
logger:
class: Drush\Log\Logger
#
# bootstrap.manager:
# The bootstrap manager is responsible for keeping track of the bootstrap
# objects that know how to bootstrap different frameworks. Drush will have
# a mechanism for this to be extended, e.g. by Backdrop.
#
bootstrap.manager:
class: Drush\Boot\BootstrapManager
arguments: ['@bootstrap.default', '@logger']
bootstrap.default:
class: Drush\Boot\EmptyBoot
arguments: ['@logger']
bootstrap.drupal8:
class: Drush\Boot\DrupalBoot8
arguments: ['@logger']
tags:
- { name: bootstrap.boot }
bootstrap.drupal7:
class: Drush\Boot\DrupalBoot7
arguments: ['@logger']
tags:
- { name: bootstrap.boot }
#
# This service is needed in order to show the D6 deprecation message.
#
bootstrap.drupal6:
class: Drush\Boot\DrupalBoot6
arguments: ['@logger']
tags:
- { name: bootstrap.boot }