Package
class Package extends GenericPackage implements FlowPackageInterface, BootablePackageInterface (View source)
A Flow Package
Properties
| protected string | $packageKey | Unique key of this package. Example for the Flow package: "Neos.Flow"  | 
                from GenericPackage | 
| protected string | $composerName | composer name for this package  | 
                from GenericPackage | 
| protected string | $packagePath | Full path to this package's main directory  | 
                from GenericPackage | 
| protected string[] | $namespaces | Array of all declared autoload namespaces contained in this package  | 
                from GenericPackage | 
| protected string[] | $autoloadTypes | from GenericPackage | |
| protected array | $autoloadConfiguration | from GenericPackage | |
| protected array | $flattenedAutoloadConfiguration | from GenericPackage | 
Methods
Constructor
Returns array of all declared autoload namespaces contained in this package
Get the autoload configuration for this package. Any valid composer "autoload" configuration.
Get a flattened array of autoload configurations that have a predictable pattern (PSR-0, PSR-4)
Returns contents of Composer manifest - or part there of.
Get the installed package version (from composer) and as fallback the version given by composer manifest.
No description
No description
Brings the composer autoload configuration into an easy to use format for various parts of Flow.
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
Returns the full path to this package's Resources directory
Returns the full path to this package's Configuration directory
Details
        
                            
    __construct(string $packageKey, string $composerName, string $packagePath, array $autoloadConfiguration = [])
        
    
    Constructor
        
                            array
    getClassFiles()
        
    
    Returns the array of filenames of the class files
        
                            string
    getPackageKey()
        
    
    Returns the package key of this package.
        
                            string
    getComposerName()
        
    
    Returns the packages composer name
        
                            array
    getNamespaces()
        
    
    Returns array of all declared autoload namespaces contained in this package
        
                            string[]
    getAutoloadTypes()
        
    
    No description
        
                            string
    getPackagePath()
        
    
    Returns the full path to this package's main directory
        
                            array
    getAutoloadPaths()
        
    
    No description
        
                            array
    getAutoloadConfiguration()
        
    
    Get the autoload configuration for this package. Any valid composer "autoload" configuration.
        
                            array
    getFlattenedAutoloadConfiguration()
        
    
    Get a flattened array of autoload configurations that have a predictable pattern (PSR-0, PSR-4)
        
                            mixed
    getComposerManifest(string $key = null)
        
    
    Returns contents of Composer manifest - or part there of.
        
                            string
    getInstalledVersion()
        
    
    Get the installed package version (from composer) and as fallback the version given by composer manifest.
        
                    protected        string
    normalizeAutoloadPath(string $autoloadType, string $autoloadNamespace, string $autoloadPath)
        
    
    No description
        
                    protected        Generator
    getClassesInNormalizedAutoloadPath(string $baseAutoloadPath, string $autoloadNamespace)
        
    
    No description
        
                    protected        bool
    isPathAutoloadEntryPoint(string $path)
        
    
    No description
        
                    protected        void
    explodeAutoloadConfiguration()
        
    
    Brings the composer autoload configuration into an easy to use format for various parts of Flow.
        
                            void
    boot(Bootstrap $bootstrap)
        
    
    Invokes custom PHP code directly after the package manager has been initialized.
        
                            Generator
    getFunctionalTestsClassFiles()
        
    
    | internal | 
Returns a generator of filenames of class files provided by functional tests contained in this package
        
                            string
    getFunctionalTestsPath()
        
    
    | internal | TODO: Should be replaced by using autoload-dev | 
Returns the full path to this package's functional tests directory
        
                            string
    getResourcesPath()
        
    
    Returns the full path to this package's Resources directory
        
                            string
    getConfigurationPath()
        
    
    Returns the full path to this package's Configuration directory