Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getInitializer example
spl_autoload_register
(
array
(
'ComposerAutoloaderInit2421ddaf7b9befaa866c073c7c56b72b', 'loadClassLoader'
)
, true, true
)
;
self::
$loader
=
$loader
=
new
\Composer\Autoload\
ClassLoader
(
\
dirname
(
__DIR__
)
)
;
spl_autoload_unregister
(
array
(
'ComposerAutoloaderInit2421ddaf7b9befaa866c073c7c56b72b', 'loadClassLoader'
)
)
;
$includePaths
=
require
__DIR__ . '/include_paths.php';
$includePaths
[
]
=
get_include_path
(
)
;
set_include_path
(
implode
(
PATH_SEPARATOR,
$includePaths
)
)
;
require
__DIR__ . '/autoload_static.php';
call_user_func
(
\Composer\Autoload\ComposerStaticInit2421ddaf7b9befaa866c073c7c56b72b::
getInitializer
(
$loader
)
)
;
$loader
->
register
(
true
)
;
$includeFiles
= \Composer\Autoload\ComposerStaticInit2421ddaf7b9befaa866c073c7c56b72b::
$files
;
foreach
(
$includeFiles
as
$fileIdentifier
=>
$file
)
{
composerRequire2421ddaf7b9befaa866c073c7c56b72b
(
$fileIdentifier
,
$file
)
;
}
return
$loader
;
}
}