first commit
This commit is contained in:
12
modules/ps_facebook/config/admin/accounts.yml
Normal file
12
modules/ps_facebook/config/admin/accounts.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
PrestaShop\PsAccountsInstaller\Installer\Installer:
|
||||
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
|
||||
public: true
|
||||
arguments:
|
||||
- '5.3.0'
|
||||
|
||||
PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts:
|
||||
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\PsAccountsInstaller\Installer\Installer'
|
||||
28
modules/ps_facebook/config/admin/index.php
Normal file
28
modules/ps_facebook/config/admin/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*/
|
||||
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;
|
||||
18
modules/ps_facebook/config/admin/installer.yml
Normal file
18
modules/ps_facebook/config/admin/installer.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Database\Installer:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Database\Installer
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook'
|
||||
- '@PrestaShop\Module\Ps_facebook\Tracker\Segment'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Database\Uninstaller:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Database\Uninstaller
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\TabRepository'
|
||||
- '@PrestaShop\Module\Ps_facebook\Tracker\Segment'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient'
|
||||
3
modules/ps_facebook/config/admin/services.yml
Normal file
3
modules/ps_facebook/config/admin/services.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
imports:
|
||||
- { resource: ../common.yml }
|
||||
- { resource: installer.yml }
|
||||
24
modules/ps_facebook/config/common.yml
Normal file
24
modules/ps_facebook/config/common.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
imports:
|
||||
- { resource: common/accounts.yml }
|
||||
- { resource: common/adapter.yml }
|
||||
- { resource: common/api.yml }
|
||||
- { resource: common/buffer.yml }
|
||||
- { resource: common/cache.yml }
|
||||
- { resource: common/config.yml }
|
||||
- { resource: common/context.yml }
|
||||
- { resource: common/dispatcher.yml }
|
||||
- { resource: common/factory.yml }
|
||||
- { resource: common/handler.yml }
|
||||
- { resource: common/presenter.yml }
|
||||
- { resource: common/provider.yml }
|
||||
- { resource: common/repository.yml }
|
||||
- { resource: common/manager.yml }
|
||||
- { resource: common/segment.yml }
|
||||
|
||||
services:
|
||||
ps_facebook:
|
||||
class: 'Ps_facebook'
|
||||
public: true
|
||||
factory: ['Module', 'getInstanceByName']
|
||||
arguments:
|
||||
- 'ps_facebook'
|
||||
12
modules/ps_facebook/config/common/accounts.yml
Normal file
12
modules/ps_facebook/config/common/accounts.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
PrestaShop\PsAccountsInstaller\Installer\Installer:
|
||||
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
|
||||
public: true
|
||||
arguments:
|
||||
- '3.0.0' # !php/const PrestaShop\Module\PrestashopFacebook\Config\Config::COMPLIANT_PS_ACCOUNTS_VERSION
|
||||
|
||||
PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts:
|
||||
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\PsAccountsInstaller\Installer\Installer'
|
||||
14
modules/ps_facebook/config/common/adapter.yml
Normal file
14
modules/ps_facebook/config/common/adapter.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter
|
||||
public: true
|
||||
arguments:
|
||||
- '@=service("ps_facebook.shop").id'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Adapter\ToolsAdapter:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Adapter\ToolsAdapter
|
||||
public: true
|
||||
|
||||
Prestashop\ModuleLibGuzzleAdapter\ClientFactory:
|
||||
class: Prestashop\ModuleLibGuzzleAdapter\ClientFactory
|
||||
public: true
|
||||
39
modules/ps_facebook/config/common/api.yml
Normal file
39
modules/ps_facebook/config/common/api.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\API\Client\FacebookCategoryClient:
|
||||
class: PrestaShop\Module\PrestashopFacebook\API\Client\FacebookCategoryClient
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Factory\PsApiClientFactory'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\ResponseListener'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient:
|
||||
class: PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Factory\FacebookEssentialsApiClientFactory'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\AccessTokenProvider'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ConfigurationHandler'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\ResponseListener'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\AccountSuspendedSubscriber:
|
||||
class: PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\AccountSuspendedSubscriber
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\ApiErrorSubscriber:
|
||||
class: PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\ApiErrorSubscriber
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\API\ResponseListener:
|
||||
class: PrestaShop\Module\PrestashopFacebook\API\ResponseListener
|
||||
public: true
|
||||
arguments:
|
||||
[[
|
||||
'@PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\AccountSuspendedSubscriber',
|
||||
'@PrestaShop\Module\PrestashopFacebook\API\EventSubscriber\ApiErrorSubscriber'
|
||||
]]
|
||||
4
modules/ps_facebook/config/common/buffer.yml
Normal file
4
modules/ps_facebook/config/common/buffer.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Buffer\TemplateBuffer:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Buffer\TemplateBuffer
|
||||
public: true
|
||||
5
modules/ps_facebook/config/common/cache.yml
Normal file
5
modules/ps_facebook/config/common/cache.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
ps_facebook.cache:
|
||||
class: 'string'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\CacheFactory', 'getCachePath']
|
||||
4
modules/ps_facebook/config/common/config.yml
Normal file
4
modules/ps_facebook/config/common/config.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Config\Env:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Config\Env
|
||||
public: true
|
||||
40
modules/ps_facebook/config/common/context.yml
Normal file
40
modules/ps_facebook/config/common/context.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
ps_facebook.context:
|
||||
class: 'Context'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getContext']
|
||||
|
||||
ps_facebook.controller:
|
||||
class: 'Controller'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getController']
|
||||
|
||||
ps_facebook.cookie:
|
||||
class: 'Cookie'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getCookie']
|
||||
|
||||
ps_facebook.language:
|
||||
class: 'Language'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getLanguage']
|
||||
|
||||
ps_facebook.currency:
|
||||
class: 'Currency'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getCurrency']
|
||||
|
||||
ps_facebook.smarty:
|
||||
class: 'Smarty'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getSmarty']
|
||||
|
||||
ps_facebook.shop:
|
||||
class: 'Shop'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getShop']
|
||||
|
||||
ps_facebook.link:
|
||||
class: 'Shop'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PrestashopFacebook\Factory\ContextFactory', 'getLink']
|
||||
10
modules/ps_facebook/config/common/dispatcher.yml
Normal file
10
modules/ps_facebook/config/common/dispatcher.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Dispatcher\EventDispatcher:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Dispatcher\EventDispatcher
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ApiConversionHandler'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\PixelHandler'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\EventDataProvider'
|
||||
- '@ps_facebook.context'
|
||||
14
modules/ps_facebook/config/common/factory.yml
Normal file
14
modules/ps_facebook/config/common/factory.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Factory\FacebookEssentialsApiClientFactory:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Factory\FacebookEssentialsApiClientFactory
|
||||
public: true
|
||||
arguments:
|
||||
- '@Prestashop\ModuleLibGuzzleAdapter\ClientFactory'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Factory\PsApiClientFactory:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Factory\PsApiClientFactory
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Config\Env'
|
||||
- '@PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
|
||||
- '@Prestashop\ModuleLibGuzzleAdapter\ClientFactory'
|
||||
56
modules/ps_facebook/config/common/handler.yml
Normal file
56
modules/ps_facebook/config/common/handler.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\ApiConversionHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\ApiConversionHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\CategoryMatchHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\CategoryMatchHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\ConfigurationHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\ConfigurationHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\MessengerHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\MessengerHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook.language'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Config\Env'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\PixelHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\PixelHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\ErrorHandler\ErrorHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Config\Env'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\EventBusProductHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\EventBusProductHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\ProductRepository'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Handler\PrevalidationScanRefreshHandler:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Handler\PrevalidationScanRefreshHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanCacheProvider'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\ProductRepository'
|
||||
- '@=service("ps_facebook.shop").id'
|
||||
28
modules/ps_facebook/config/common/index.php
Normal file
28
modules/ps_facebook/config/common/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*/
|
||||
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;
|
||||
7
modules/ps_facebook/config/common/manager.yml
Normal file
7
modules/ps_facebook/config/common/manager.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Manager\FbeFeatureManager:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Manager\FbeFeatureManager
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient'
|
||||
6
modules/ps_facebook/config/common/presenter.yml
Normal file
6
modules/ps_facebook/config/common/presenter.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Presenter\ModuleUpgradePresenter:
|
||||
class: 'PrestaShop\Module\PrestashopFacebook\Presenter\ModuleUpgradePresenter'
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook.context'
|
||||
88
modules/ps_facebook/config/common/provider.yml
Normal file
88
modules/ps_facebook/config/common/provider.yml
Normal file
@@ -0,0 +1,88 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\AccessTokenProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\AccessTokenProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\ResponseListener'
|
||||
- '@ps_facebook.controller'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Factory\PsApiClientFactory'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\GoogleCategoryProviderInterface:
|
||||
alias: 'PrestaShop\Module\PrestashopFacebook\Provider\GoogleCategoryProvider'
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\GoogleCategoryProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\GoogleCategoryProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\FacebookDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\FacebookDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\FbeDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\FbeDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\FbeFeatureDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\FbeFeatureDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\Client\FacebookClient'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\EventDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\EventDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ToolsAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\ProductRepository'
|
||||
- '@ps_facebook.context'
|
||||
- '@ps_facebook'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\ProductAvailabilityProviderInterface'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\GoogleCategoryProvider'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\ProductAvailabilityProviderInterface:
|
||||
alias: 'PrestaShop\Module\PrestashopFacebook\Provider\ProductAvailabilityProvider'
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\ProductAvailabilityProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\ProductAvailabilityProvider
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\MultishopDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\MultishopDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Repository\ShopRepository'
|
||||
- '@PrestaShop\Module\Ps_facebook\Tracker\Segment'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\ProductSyncReportProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\ProductSyncReportProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Factory\PsApiClientFactory'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\API\ResponseListener'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanCacheProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanCacheProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook'
|
||||
- '@ps_facebook.cache'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanDataProvider:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Provider\PrevalidationScanCacheProvider'
|
||||
26
modules/ps_facebook/config/common/repository.yml
Normal file
26
modules/ps_facebook/config/common/repository.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Repository\GoogleCategoryRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Repository\ProductRepository:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Repository\ProductRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook.language'
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Repository\ShopRepository:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Repository\ShopRepository
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Repository\TabRepository:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Repository\TabRepository
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PrestashopFacebook\Repository\ServerInformationRepository:
|
||||
class: PrestaShop\Module\PrestashopFacebook\Repository\ServerInformationRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
|
||||
9
modules/ps_facebook/config/common/segment.yml
Normal file
9
modules/ps_facebook/config/common/segment.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
PrestaShop\Module\Ps_facebook\Tracker\Segment:
|
||||
class: 'PrestaShop\Module\Ps_facebook\Tracker\Segment'
|
||||
public: true
|
||||
arguments:
|
||||
- '@ps_facebook.context'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Config\Env'
|
||||
- '@PrestaShop\Module\PrestashopFacebook\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
|
||||
28
modules/ps_facebook/config/front/index.php
Normal file
28
modules/ps_facebook/config/front/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*/
|
||||
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;
|
||||
2
modules/ps_facebook/config/front/services.yml
Normal file
2
modules/ps_facebook/config/front/services.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
imports:
|
||||
- { resource: ../common.yml }
|
||||
28
modules/ps_facebook/config/index.php
Normal file
28
modules/ps_facebook/config/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License version 3.0
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
||||
*/
|
||||
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;
|
||||
Reference in New Issue
Block a user