Commit 0b23098d authored by Avris's avatar Avris

v4.0

parent 5040a928
googleAnalytics:
class: Avris\Micrus\GoogleAnalytics\GoogleAnalytics
params: ['@config.parameters.?googleAnalytics']
events: ['terminate']
tags: ['defaultParameters', 'twigExtension']
......@@ -2,20 +2,10 @@
namespace Avris\Micrus\GoogleAnalytics;
use Avris\Micrus\Bootstrap\Module;
use Avris\Micrus\Bootstrap\ModuleInterface;
use Avris\Micrus\Bootstrap\ModuleTrait;
class GoogleAnalyticsModule implements Module
class GoogleAnalyticsModule implements ModuleInterface
{
public function extendConfig($env, $rootDir)
{
return [
'services' => [
'googleAnalytics' => [
'class' => GoogleAnalytics::class,
'params' => ['@config.parameters.?googleAnalytics'],
'events' => ['terminate'],
'tags' => ['defaultParameters', 'twigExtension'],
],
],
];
}
use ModuleTrait;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment