Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
static
framework
autoload.php
Go to the documentation of this file.
1
<?php
7
use \Magento\Framework\App\Filesystem\DirectoryList;
8
9
$baseDir
= realpath(
__DIR__
.
'/../../../../'
);
10
require
$baseDir
.
'/app/autoload.php'
;
11
require
$baseDir
.
'/vendor/squizlabs/php_codesniffer/autoload.php'
;
12
$testsBaseDir
=
$baseDir
.
'/dev/tests/static'
;
13
$autoloadWrapper
=
\Magento\Framework\Autoload\AutoloaderRegistry::getAutoloader
();
14
$autoloadWrapper
->addPsr4(
'Magento\\'
,
$testsBaseDir
.
'/testsuite/Magento/'
);
15
$autoloadWrapper
->addPsr4(
16
'Magento\\TestFramework\\'
,
17
[
18
$testsBaseDir
.
'/framework/Magento/TestFramework/'
,
19
$testsBaseDir
.
'/../integration/framework/Magento/TestFramework/'
,
20
]
21
);
22
$autoloadWrapper
->addPsr4(
'Magento\\CodeMessDetector\\'
,
$testsBaseDir
.
'/framework/Magento/CodeMessDetector'
);
23
24
$generatedCode
= DirectoryList::getDefaultConfig()[DirectoryList::GENERATED_CODE][DirectoryList::PATH];
25
$autoloadWrapper
->addPsr4(
'Magento\\'
,
$baseDir
.
'/'
.
$generatedCode
.
'/Magento/'
);
$baseDir
$baseDir
Definition:
autoload.php:9
__DIR__
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition:
_bootstrap.php:60
$autoloadWrapper
$autoloadWrapper
Definition:
autoload.php:12
$testsBaseDir
$testsBaseDir
Definition:
autoload.php:9
Magento\Framework\Autoload\AutoloaderRegistry\getAutoloader
static getAutoloader()
Definition:
AutoloaderRegistry.php:37
$generatedCode
$generatedCode
Definition:
autoload.php:24