ComposerManager
class ComposerManager
ComposerManager Class
Traits
Singleton trait.
Properties
static protected | $instance | from Singleton | |
protected ClassLoader | $loader | ||
protected | $namespacePool | ||
protected | $psr4Pool | ||
protected | $classMapPool | ||
protected | $includeFilesPool | ||
protected | $installedPackages |
Methods
initialize()
No description
void
autoload(string $vendorPath)
Similar function to including vendor/autoload.php.
getPackageVersion($name)
No description
listInstalledPackages($vendorPath)
No description
getConfig($path, $type = 'extension')
No description
preloadPools()
No description
preloadIncludeFilesPool()
No description
string
stripVendorDir(string $path, $vendorDir)
Removes the vendor directory from a path.
loadInstalledPackages()
No description
Details
in
Singleton at line 18
final static
instance()
Create a new instance of this singleton.
in
Singleton at line 28
final static
forgetInstance()
Forget this singleton's instance if it exists
in
Singleton at line 36
final protected
__construct()
Constructor.
at line 29
initialize()
No description
in
Singleton at line 48
__clone()
No description
in
Singleton at line 53
__wakeup()
No description
at line 43
void
autoload(string $vendorPath)
Similar function to including vendor/autoload.php.
at line 85
getPackageVersion($name)
No description
at line 90
listInstalledPackages($vendorPath)
No description
at line 95
getConfig($path, $type = 'extension')
No description
at line 114
protected
preloadPools()
No description
at line 122
protected
preloadIncludeFilesPool()
No description
at line 145
protected string
stripVendorDir(string $path, $vendorDir)
Removes the vendor directory from a path.
at line 157
protected
loadInstalledPackages()
No description