AssetsInstaller
class AssetsInstaller extends LibraryInstaller implements AssetsInstallerInterface
Methods
Initializes installer: creation of assets-dir
directory if so
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
No description
No description
No description
No description
No description
No description
No description
No description
Parse the composer.json
"extra" block of a package and return its transformed data
Search a configuration value in a package's config or the global config if so
Check if a package seems to contain some $type
files
Details
at line 75
__construct(IOInterface $io, Composer $composer, $type = 'library')
Initializes installer: creation of assets-dir
directory if so
{@inheritDoc}
at line 96
supports($packageType)
{@inheritDoc}
at line 114
isInstalled(InstalledRepositoryInterface $repo, PackageInterface $package)
{@inheritDoc}
at line 124
install(InstalledRepositoryInterface $repo, PackageInterface $package)
{@inheritDoc}
at line 133
update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
{@inheritDoc}
at line 143
uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
{@inheritDoc}
at line 289
IOInterface
getIo()
at line 297
string
getAppBasePath()
at line 305
string
getVendorDir()
at line 314
string
getAssetsDir()
at line 322
string
getAssetsVendorDir()
at line 330
string
getDocumentRoot()
at line 338
string
getAssetsDbFilename()
at line 410
string
getAssetsInstallPath(PackageInterface $package)
at line 422
array|null
parseComposerExtra(PackageInterface $package, string $package_dir)
Parse the composer.json
"extra" block of a package and return its transformed data
at line 473
static string
guessConfigurationEntry(PackageInterface $package, string $config_entry)
Search a configuration value in a package's config or the global config if so
at line 491
static bool
isPackageContains(PackageInterface $package, string $type, string $package_extra = null)
Check if a package seems to contain some $type
files
If $package_extra
is defined, this will test if concerned entry is defined in "extra"
configuration of the package.