{"payload":{"allShortcutsEnabled":false,"fileTree":{"src/Adapter":{"items":[{"name":"Addons","path":"src/Adapter/Addons","contentType":"directory"},{"name":"Address","path":"src/Adapter/Address","contentType":"directory"},{"name":"Admin","path":"src/Adapter/Admin","contentType":"directory"},{"name":"Assets","path":"src/Adapter/Assets","contentType":"directory"},{"name":"Attribute","path":"src/Adapter/Attribute","contentType":"directory"},{"name":"Backup","path":"src/Adapter/Backup","contentType":"directory"},{"name":"BestSales","path":"src/Adapter/BestSales","contentType":"directory"},{"name":"CMS","path":"src/Adapter/CMS","contentType":"directory"},{"name":"Cache","path":"src/Adapter/Cache","contentType":"directory"},{"name":"Carrier","path":"src/Adapter/Carrier","contentType":"directory"},{"name":"Cart","path":"src/Adapter/Cart","contentType":"directory"},{"name":"Category","path":"src/Adapter/Category","contentType":"directory"},{"name":"Configuration","path":"src/Adapter/Configuration","contentType":"directory"},{"name":"Contact","path":"src/Adapter/Contact","contentType":"directory"},{"name":"Container","path":"src/Adapter/Container","contentType":"directory"},{"name":"Converter","path":"src/Adapter/Converter","contentType":"directory"},{"name":"Country","path":"src/Adapter/Country","contentType":"directory"},{"name":"Currency","path":"src/Adapter/Currency","contentType":"directory"},{"name":"Customer","path":"src/Adapter/Customer","contentType":"directory"},{"name":"Debug","path":"src/Adapter/Debug","contentType":"directory"},{"name":"Domain","path":"src/Adapter/Domain","contentType":"directory"},{"name":"Email","path":"src/Adapter/Email","contentType":"directory"},{"name":"Employee","path":"src/Adapter/Employee","contentType":"directory"},{"name":"Feature","path":"src/Adapter/Feature","contentType":"directory"},{"name":"File","path":"src/Adapter/File","contentType":"directory"},{"name":"Form","path":"src/Adapter/Form","contentType":"directory"},{"name":"Geolocation","path":"src/Adapter/Geolocation","contentType":"directory"},{"name":"Grid","path":"src/Adapter/Grid","contentType":"directory"},{"name":"Group","path":"src/Adapter/Group","contentType":"directory"},{"name":"Hook","path":"src/Adapter/Hook","contentType":"directory"},{"name":"Hosting","path":"src/Adapter/Hosting","contentType":"directory"},{"name":"Image","path":"src/Adapter/Image","contentType":"directory"},{"name":"Import","path":"src/Adapter/Import","contentType":"directory"},{"name":"Invoice","path":"src/Adapter/Invoice","contentType":"directory"},{"name":"Kpi","path":"src/Adapter/Kpi","contentType":"directory"},{"name":"Language","path":"src/Adapter/Language","contentType":"directory"},{"name":"Localization","path":"src/Adapter/Localization","contentType":"directory"},{"name":"Mail","path":"src/Adapter/Mail","contentType":"directory"},{"name":"MailTemplate","path":"src/Adapter/MailTemplate","contentType":"directory"},{"name":"Manufacturer","path":"src/Adapter/Manufacturer","contentType":"directory"},{"name":"Media","path":"src/Adapter/Media","contentType":"directory"},{"name":"Meta","path":"src/Adapter/Meta","contentType":"directory"},{"name":"Module","path":"src/Adapter/Module","contentType":"directory"},{"name":"NewProducts","path":"src/Adapter/NewProducts","contentType":"directory"},{"name":"OptionalFeatures","path":"src/Adapter/OptionalFeatures","contentType":"directory"},{"name":"Order","path":"src/Adapter/Order","contentType":"directory"},{"name":"OrderState","path":"src/Adapter/OrderState","contentType":"directory"},{"name":"PDF","path":"src/Adapter/PDF","contentType":"directory"},{"name":"Pack","path":"src/Adapter/Pack","contentType":"directory"},{"name":"Preferences","path":"src/Adapter/Preferences","contentType":"directory"},{"name":"Presenter","path":"src/Adapter/Presenter","contentType":"directory"},{"name":"PricesDrop","path":"src/Adapter/PricesDrop","contentType":"directory"},{"name":"Product","path":"src/Adapter/Product","contentType":"directory"},{"name":"Profile","path":"src/Adapter/Profile","contentType":"directory"},{"name":"Requirement","path":"src/Adapter/Requirement","contentType":"directory"},{"name":"Routes","path":"src/Adapter/Routes","contentType":"directory"},{"name":"Search","path":"src/Adapter/Search","contentType":"directory"},{"name":"Security","path":"src/Adapter/Security","contentType":"directory"},{"name":"Shop","path":"src/Adapter/Shop","contentType":"directory"},{"name":"Smarty","path":"src/Adapter/Smarty","contentType":"directory"},{"name":"SqlManager","path":"src/Adapter/SqlManager","contentType":"directory"},{"name":"Supplier","path":"src/Adapter/Supplier","contentType":"directory"},{"name":"Support","path":"src/Adapter/Support","contentType":"directory"},{"name":"System","path":"src/Adapter/System","contentType":"directory"},{"name":"Tab","path":"src/Adapter/Tab","contentType":"directory"},{"name":"Tax","path":"src/Adapter/Tax","contentType":"directory"},{"name":"Theme","path":"src/Adapter/Theme","contentType":"directory"},{"name":"Translations","path":"src/Adapter/Translations","contentType":"directory"},{"name":"Upload","path":"src/Adapter/Upload","contentType":"directory"},{"name":"Warehouse","path":"src/Adapter/Warehouse","contentType":"directory"},{"name":"Webservice","path":"src/Adapter/Webservice","contentType":"directory"},{"name":"AddressFactory.php","path":"src/Adapter/AddressFactory.php","contentType":"file"},{"name":"CacheManager.php","path":"src/Adapter/CacheManager.php","contentType":"file"},{"name":"ClassLang.php","path":"src/Adapter/ClassLang.php","contentType":"file"},{"name":"CombinationDataProvider.php","path":"src/Adapter/CombinationDataProvider.php","contentType":"file"},{"name":"Configuration.php","path":"src/Adapter/Configuration.php","contentType":"file"},{"name":"ContainerBuilder.php","path":"src/Adapter/ContainerBuilder.php","contentType":"file"},{"name":"CoreException.php","path":"src/Adapter/CoreException.php","contentType":"file"},{"name":"Database.php","path":"src/Adapter/Database.php","contentType":"file"},{"name":"EntityMapper.php","path":"src/Adapter/EntityMapper.php","contentType":"file"},{"name":"EntityMetaDataRetriever.php","path":"src/Adapter/EntityMetaDataRetriever.php","contentType":"file"},{"name":"Environment.php","path":"src/Adapter/Environment.php","contentType":"file"},{"name":"GeneralConfiguration.php","path":"src/Adapter/GeneralConfiguration.php","contentType":"file"},{"name":"HookManager.php","path":"src/Adapter/HookManager.php","contentType":"file"},{"name":"ImageManager.php","path":"src/Adapter/ImageManager.php","contentType":"file"},{"name":"LegacyContext.php","path":"src/Adapter/LegacyContext.php","contentType":"file"},{"name":"LegacyHookSubscriber.php","path":"src/Adapter/LegacyHookSubscriber.php","contentType":"file"},{"name":"LegacyLogger.php","path":"src/Adapter/LegacyLogger.php","contentType":"file"},{"name":"ObjectPresenter.php","path":"src/Adapter/ObjectPresenter.php","contentType":"file"},{"name":"RoundingMapper.php","path":"src/Adapter/RoundingMapper.php","contentType":"file"},{"name":"ServiceLocator.php","path":"src/Adapter/ServiceLocator.php","contentType":"file"},{"name":"StockManager.php","path":"src/Adapter/StockManager.php","contentType":"file"},{"name":"SymfonyContainer.php","path":"src/Adapter/SymfonyContainer.php","contentType":"file"},{"name":"Tools.php","path":"src/Adapter/Tools.php","contentType":"file"},{"name":"Validate.php","path":"src/Adapter/Validate.php","contentType":"file"}],"totalCount":95},"src":{"items":[{"name":"Adapter","path":"src/Adapter","contentType":"directory"},{"name":"Core","path":"src/Core","contentType":"directory"},{"name":"PrestaShopBundle","path":"src/PrestaShopBundle","contentType":"directory"},{"name":".htaccess","path":"src/.htaccess","contentType":"file"}],"totalCount":4},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"admin-dev","path":"admin-dev","contentType":"directory"},{"name":"app","path":"app","contentType":"directory"},{"name":"bin","path":"bin","contentType":"directory"},{"name":"cache","path":"cache","contentType":"directory"},{"name":"classes","path":"classes","contentType":"directory"},{"name":"config","path":"config","contentType":"directory"},{"name":"controllers","path":"controllers","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"download","path":"download","contentType":"directory"},{"name":"img","path":"img","contentType":"directory"},{"name":"install-dev","path":"install-dev","contentType":"directory"},{"name":"js","path":"js","contentType":"directory"},{"name":"localization","path":"localization","contentType":"directory"},{"name":"mails","path":"mails","contentType":"directory"},{"name":"modules","path":"modules","contentType":"directory"},{"name":"override","path":"override","contentType":"directory"},{"name":"pdf","path":"pdf","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tests-legacy","path":"tests-legacy","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"themes","path":"themes","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":"translations","path":"translations","contentType":"directory"},{"name":"travis-scripts","path":"travis-scripts","contentType":"directory"},{"name":"upload","path":"upload","contentType":"directory"},{"name":"var","path":"var","contentType":"directory"},{"name":"vendor","path":"vendor","contentType":"directory"},{"name":"webservice","path":"webservice","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".eslintignore","path":".eslintignore","contentType":"file"},{"name":".eslintrc.js","path":".eslintrc.js","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".php_cs.dist","path":".php_cs.dist","contentType":"file"},{"name":".scrutinizer.yml","path":".scrutinizer.yml","contentType":"file"},{"name":".t9n.yml","path":".t9n.yml","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"CONTRIBUTORS.md","path":"CONTRIBUTORS.md","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"LICENCE.md","path":"LICENCE.md","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"autoload.php","path":"autoload.php","contentType":"file"},{"name":"composer.json","path":"composer.json","contentType":"file"},{"name":"composer.lock","path":"composer.lock","contentType":"file"},{"name":"diff-hooks.php","path":"diff-hooks.php","contentType":"file"},{"name":"docker-compose.yml","path":"docker-compose.yml","contentType":"file"},{"name":"error500.html","path":"error500.html","contentType":"file"},{"name":"images.inc.php","path":"images.inc.php","contentType":"file"},{"name":"index.php","path":"index.php","contentType":"file"},{"name":"init.php","path":"init.php","contentType":"file"},{"name":"package-lock.json","path":"package-lock.json","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"}],"totalCount":53}},"fileTreeProcessingTime":17.088227,"foldersToFetch":[],"repo":{"id":6763587,"defaultBranch":"develop","name":"PrestaShop","ownerLogin":"PrestaShop","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-11-19T16:41:31.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2815696?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"1.7.6.0","listCacheKey":"v0:1710774016.0","canEdit":false,"refType":"tag","currentOid":"368fc858b8cbc1f40949412d28ac2d273bae6abc"},"path":"src/Adapter/LegacyHookSubscriber.php","currentUser":null,"blob":{"rawLines":[""," * @copyright 2007-2019 PrestaShop SA and Contributors"," * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)"," * International Registered Trademark & Property of PrestaShop SA"," */","","namespace PrestaShop\\PrestaShop\\Adapter;","","use Context;","use Hook;","use PrestaShopBundle\\Service\\Hook\\HookEvent;","use PrestaShopBundle\\Service\\Hook\\RenderingHookEvent;","use Symfony\\Component\\EventDispatcher\\EventSubscriberInterface;","","/**"," * The subscriber for HookDispatcher that triggers legacy Hooks."," *"," * This subscriber is registered into the HookDispatcher service via services.yml."," * The legacy hooks are registered one by one in the dispatcher, but each corresponding"," * function is a magic method catched by __call()."," * This ensure the listeners' count is real."," *"," *"," *