AbstractDriver
abstract class AbstractDriver implements InstallerDriverInterface (View source)
Properties
protected Composer | $composer | ||
protected IOInterface | $io | ||
protected Configuration | $configuration | ||
protected InstallerParameters | $parameters | ||
protected InstallerPersistenceInterface | $persistence |
Methods
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters, InstallerPersistenceInterface $persistence)
Driver constructor, just to ensure all pieces are in the right place
Composer
getComposer()
No description
IOInterface
getIo()
No description
Configuration
getConfiguration()
No description
getParameters()
No description
getPersistence()
No description
void
install(string $package_name, string $package_path, array $package_extra)
Install a package, processing all extra fields that it contains.
void
update(string $package_name, string $package_path, array $initial_extra, array $target_extra)
Update a package checking differences from it's initial and target extra fields.
void
uninstall(string $package_name, string $package_path, array $package_extra)
Uninstall package, removing all related extra fields.
Details
at line 56
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters, InstallerPersistenceInterface $persistence)
Driver constructor, just to ensure all pieces are in the right place
at line 75
Composer
getComposer()
at line 84
IOInterface
getIo()
at line 93
Configuration
getConfiguration()
at line 102
InstallerParameters
getParameters()
at line 111
InstallerPersistenceInterface
getPersistence()
at line 120
abstract void
install(string $package_name, string $package_path, array $package_extra)
Install a package, processing all extra fields that it contains.
at line 125
abstract void
update(string $package_name, string $package_path, array $initial_extra, array $target_extra)
Update a package checking differences from it's initial and target extra fields.
at line 130
abstract void
uninstall(string $package_name, string $package_path, array $package_extra)
Uninstall package, removing all related extra fields.