-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.yaml
34 lines (26 loc) · 1.56 KB
/
services.yaml
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
parameters:
services:
# this makes public all the services defined in this file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
LaSalle\UrlShortener\JudithVilela\:
resource: '../src/*'
exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
LaSalle\UrlShortener\JudithVilela\UrlShortened\Application\GetShortenUrlsNumberPerCampaign\GetShortenUrlsNumberPerCampaign:
arguments:
- '@LaSalle\UrlShortener\JudithVilela\UrlShortened\Infrastructure\Persistence\Repository\MySQLShortenUrlsPerCampaignCounter'
LaSalle\UrlShortener\JudithVilela\UrlShortened\Infrastructure\Ui\Http\GetShortenUrlsNumberByCampaignController:
arguments:
- '@LaSalle\UrlShortener\JudithVilela\UrlShortened\Application\GetShortenUrlsNumberPerCampaign\GetShortenUrlsNumberPerCampaign'
LaSalle\UrlShortener\JudithVilela\UrlShortened\Application\SaveUrlOnUrlWasShorten:
tags:
- { name: kernel.event_listener, event: 'url_shortened.url_was_shorten' }
LaSalle\UrlShortener\JudithVilela\UrlShortened\Application\UrlShortener\UrlShortener:
arguments:
- '@LaSalle\UrlShortener\JudithVilela\UrlShortened\Domain\Service\UrlShortener'
LaSalle\UrlShortener\JudithVilela\UrlShortened\Infrastructure\Ui\Cli\ShortenerCommand:
arguments:
- '@LaSalle\UrlShortener\JudithVilela\UrlShortened\Application\UrlShortener\UrlShortener'
tags:
- { name: 'console.command', command: 'app:url-shortener' }