first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
services:
PrestaShop\PsAccountsInstaller\Installer\Installer:
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
public: true
arguments:
- '5.0.2'
PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts:
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
public: true
arguments:
- '@PrestaShop\PsAccountsInstaller\Installer\Installer'

View File

@@ -0,0 +1,11 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Builder\CarrierBuilder:
class: PrestaShop\Module\PsxMarketingWithGoogle\Builder\CarrierBuilder
public: true
arguments:
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\StateRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\TaxRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,17 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Database\Installer:
class: PrestaShop\Module\PsxMarketingWithGoogle\Database\Installer
public: true
arguments:
- '@psxmarketingwithgoogle'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler'
PrestaShop\Module\PsxMarketingWithGoogle\Database\Uninstaller:
class: PrestaShop\Module\PsxMarketingWithGoogle\Database\Uninstaller
public: true
arguments:
- '@psxmarketingwithgoogle'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\TabRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler'

View File

@@ -0,0 +1,12 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Provider\CarrierDataProvider:
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\CarrierDataProvider
public: true
arguments:
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Builder\CarrierBuilder'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository'
PrestaShop\Module\PsxMarketingWithGoogle\Provider\GoogleTagProvider:
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\GoogleTagProvider
public: true

View File

@@ -0,0 +1,6 @@
imports:
- { resource: ../common.yml }
- { resource: accounts.yml }
- { resource: installer.yml }
- { resource: builder.yml }
- { resource: provider.yml }

View File

@@ -0,0 +1,17 @@
imports:
- { resource: common/adapter.yml }
- { resource: common/buffer.yml }
- { resource: common/config.yml }
- { resource: common/context.yml }
- { resource: common/handler.yml }
- { resource: common/provider.yml }
- { resource: common/repository.yml }
- { resource: common/segment.yml }
services:
psxmarketingwithgoogle:
class: 'PsxMarketingWithGoogle'
public: true
factory: ['Module', 'getInstanceByName']
arguments:
- 'psxmarketingwithgoogle'

View File

@@ -0,0 +1,6 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter:
class: PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter
public: true
arguments:
- '@=service("psxmarketingwithgoogle.shop").id'

View File

@@ -0,0 +1,4 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer:
class: PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer
public: true

View File

@@ -0,0 +1,4 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Config\Env:
class: PrestaShop\Module\PsxMarketingWithGoogle\Config\Env
public: true

View File

@@ -0,0 +1,50 @@
services:
psxmarketingwithgoogle.context:
class: 'Context'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getContext']
psxmarketingwithgoogle.controller:
class: 'Controller'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getController']
psxmarketingwithgoogle.cookie:
class: 'Cookie'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCookie']
psxmarketingwithgoogle.language:
class: 'Language'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getLanguage']
psxmarketingwithgoogle.currency:
class: 'Currency'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCurrency']
psxmarketingwithgoogle.smarty:
class: 'Smarty'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getSmarty']
psxmarketingwithgoogle.country:
class: 'Country'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCountry']
psxmarketingwithgoogle.shop:
class: 'Shop'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getShop']
psxmarketingwithgoogle.link:
class: 'Shop'
public: true
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getLink']
psxmarketingwithgoogle.db:
class: Db
public: true
factory: [ 'Db', 'getInstance' ]

View File

@@ -0,0 +1,5 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Factory\ApiClientFactory:
class: PrestaShop\Module\PsxMarketingWithGoogle\Factory\ApiClientFactory
arguments:
- '@PrestaShop\Module\PsxMarketingWithGoogle\Config\Env'

View File

@@ -0,0 +1,13 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler:
class: PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler
public: true
PrestaShop\Module\PsxMarketingWithGoogle\Handler\RemarketingHookHandler:
class: PrestaShop\Module\PsxMarketingWithGoogle\Handler\RemarketingHookHandler
public: true
arguments:
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer'
- '@psxmarketingwithgoogle.context'
- '@psxmarketingwithgoogle'

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,34 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Provider\PurchaseEventDataProvider:
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\PurchaseEventDataProvider
public: true
arguments:
- '@PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider'
- '@psxmarketingwithgoogle.context'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository'
PrestaShop\Module\PsxMarketingWithGoogle\Provider\CartEventDataProvider:
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\CartEventDataProvider
public: true
arguments:
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider:
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider'
public: true
arguments:
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Provider\ConversionEventDataProvider:
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\ConversionEventDataProvider'
public: true
arguments:
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Provider\PageViewEventDataProvider:
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\PageViewEventDataProvider'
public: true
arguments:
- '@psxmarketingwithgoogle.context'

View File

@@ -0,0 +1,55 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Repository\TabRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\TabRepository
public: true
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository
public: true
arguments:
- '@psxmarketingwithgoogle.db'
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Repository\AttributesRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\AttributesRepository
public: true
arguments:
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository
public: true
arguments:
- '@psxmarketingwithgoogle.db'
- '@psxmarketingwithgoogle.context'
- '@psxmarketingwithgoogle.country'
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CurrencyRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CurrencyRepository
public: true
arguments:
- '@psxmarketingwithgoogle.currency'
PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository
public: true
PrestaShop\Module\PsxMarketingWithGoogle\Repository\ProductRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\ProductRepository
public: true
PrestaShop\Module\PsxMarketingWithGoogle\Repository\StateRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\StateRepository
public: true
arguments:
- '@psxmarketingwithgoogle.db'
- '@psxmarketingwithgoogle.context'
PrestaShop\Module\PsxMarketingWithGoogle\Repository\TaxRepository:
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\TaxRepository
public: true
arguments:
- '@psxmarketingwithgoogle.db'
- '@psxmarketingwithgoogle.context'

View File

@@ -0,0 +1,6 @@
services:
PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment:
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment'
public: true
arguments:
- '@psxmarketingwithgoogle.context'

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,2 @@
imports:
- { resource: ../common.yml }

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;