Skip to content

Commit 19bed91

Browse files
committed
ISSUE-345: analytics controller
1 parent 6080ba3 commit 19bed91

File tree

6 files changed

+1033
-0
lines changed

6 files changed

+1033
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
"resource": "@PhpListRestBundle/Messaging/Controller/",
112112
"type": "attribute",
113113
"prefix": "/api/v2"
114+
},
115+
"rest-api-analitics": {
116+
"resource": "@PhpListRestBundle/Statistics/Controller/",
117+
"type": "attribute",
118+
"prefix": "/api/v2"
114119
}
115120
}
116121
}

config/services/controllers.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ services:
2424
autowire: true
2525
autoconfigure: true
2626
public: true
27+
28+
PhpList\RestBundle\Statistics\Controller\:
29+
resource: '../src/Statistics/Controller'
30+
tags: [ 'controller.service_arguments' ]
31+
autowire: true
32+
autoconfigure: true
33+
public: true

config/services/managers.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,16 @@ services:
3939
PhpList\Core\Domain\Subscription\Service\SubscriberCsvExporter:
4040
autowire: true
4141
autoconfigure: true
42+
43+
PhpList\Core\Domain\Analytics\Service\Manager\LinkTrackManager:
44+
autowire: true
45+
autoconfigure: true
46+
47+
PhpList\Core\Domain\Analytics\Service\Manager\UserMessageViewManager:
48+
autowire: true
49+
autoconfigure: true
50+
51+
PhpList\Core\Domain\Analytics\Service\AnalyticsService:
52+
autowire: true
53+
autoconfigure: true
54+

0 commit comments

Comments
 (0)