PackageInterface
interface PackageInterface (View source)
Interface for a basic Package class
Constants
deprecated PATTERN_MATCH_PACKAGEKEY |
|
DEFAULT_COMPOSER_TYPE |
|
Methods
Returns the array of filenames of the class files
Returns the composer name of this package.
Returns an array of all namespaces declared for this package.
Returns the full path to this package's main directory
Returns the currently installed version of this package.
Returns the composer manifest of this package or just contents of a specific key of the full configuration.
Details
iterable
getClassFiles()
Returns the array of filenames of the class files
string
getComposerName()
Returns the composer name of this package.
array
getNamespaces()
Returns an array of all namespaces declared for this package.
string
getPackagePath()
Returns the full path to this package's main directory
string
getInstalledVersion()
Returns the currently installed version of this package.
mixed
getComposerManifest(string $key = null)
Returns the composer manifest of this package or just contents of a specific key of the full configuration.