PackageInterface
interface PackageInterface
Package interface, all packages type should impelement it.
Methods
array
getDrivers()
Get drivers classes list
bool
isInstalled()
Return true if package is installed
string
getName()
Return package name
string
getVersion()
Get Package version
string|null
getType()
Get package type
Collection
getProperties(bool $full = false)
Return package properties
bool
validate()
Validate package properties
bool
install(bool|null $primary = null)
Install package
bool
postInstall()
Run post install actions
bool
unInstall()
Unintsll package
bool
enable()
Enable package
bool
disable()
Disable package
bool
setPrimary()
Set package as primary
CollectionInterface
getRequire()
Get require property
Details
at line 22
array
getDrivers()
Get drivers classes list
at line 29
bool
isInstalled()
Return true if package is installed
at line 36
string
getName()
Return package name
at line 43
string
getVersion()
Get Package version
at line 50
string|null
getType()
Get package type
at line 58
Collection
getProperties(bool $full = false)
Return package properties
at line 65
bool
validate()
Validate package properties
at line 73
bool
install(bool|null $primary = null)
Install package
at line 80
bool
postInstall()
Run post install actions
at line 87
bool
unInstall()
Unintsll package
at line 94
bool
enable()
Enable package
at line 101
bool
disable()
Disable package
at line 108
bool
setPrimary()
Set package as primary
at line 115
CollectionInterface
getRequire()
Get require property