-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathservices.yml
More file actions
51 lines (40 loc) · 1.43 KB
/
services.yml
File metadata and controls
51 lines (40 loc) · 1.43 KB
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
46
47
48
49
50
51
imports:
- { resource: 'services/*.yml' }
services:
_defaults:
autowire: true
autoconfigure: true
public: false
PhpList\Core\Core\ConfigProvider:
arguments:
$config: '%app.config%'
PhpList\Core\Core\ApplicationStructure:
public: true
PhpList\Core\Security\Authentication:
public: true
PhpList\Core\Security\HashGenerator:
public: true
PhpList\Core\Routing\ExtraLoader:
tags: [routing.loader]
PhpList\Core\Domain\Common\Repository\AbstractRepository:
abstract: true
autowire: true
autoconfigure: false
public: true
factory: ['@doctrine.orm.entity_manager', getRepository]
# controllers are imported separately to make sure they're public
# and have a tag that allows actions to type-hint services
PhpList\Core\EmptyStartPageBundle\Controller\:
resource: '../src/EmptyStartPageBundle/Controller'
public: true
tags: [controller.service_arguments]
doctrine.orm.metadata.annotation_reader:
alias: doctrine.annotation_reader
doctrine.annotation_reader:
class: Doctrine\Common\Annotations\AnnotationReader
autowire: true
doctrine.orm.default_annotation_metadata_driver:
class: Doctrine\ORM\Mapping\Driver\AnnotationDriver
arguments:
- '@annotation_reader'
- '%kernel.project_dir%/src/Domain/Model/'