FlowPackageInterface
interface FlowPackageInterface implements PackageInterface, PackageKeyAwareInterface (View source)
An interface for Flow packages that might have configuration or resources
Constants
DIRECTORY_CLASSES |
|
DIRECTORY_CONFIGURATION |
|
DIRECTORY_TESTS_FUNCTIONAL |
|
DIRECTORY_TESTS_UNIT |
|
DIRECTORY_RESOURCES |
|
Methods
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.
Returns the full path to this package's Resources directory
Returns the full path to this package's Configuration directory
Returns a generator of filenames of class files provided by functional tests contained in this package
Returns the full path to this package's functional tests directory
Details
array
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.
string
getPackageKey()
Returns the package key of this package.
string
getResourcesPath()
Returns the full path to this package's Resources directory
string
getConfigurationPath()
Returns the full path to this package's Configuration directory
Generator
getFunctionalTestsClassFiles()
internal |
Returns a generator of filenames of class files provided by functional tests contained in this package
string
getFunctionalTestsPath()
internal |
Returns the full path to this package's functional tests directory