PackageInfo
class PackageInfo (View source)
Represents the package details extracted from a package controller.php file.
Properties
| private string | $packageDirectory | The package directory (normalized, without trailing slashes).  | 
                |
| private string | $handle | The package handle.  | 
                |
| private string | $version | The package version.  | 
                |
| private string | $name | The package name, in English.  | 
                |
| private string | $description | The package description, in English.  | 
                |
| private string | $minimumCoreVersion | The minimum concrete5 version.  | 
                
Methods
Create a new instance of this class.
Get the package directory (normalized, without trailing slashes).
Set the package directory.
Get the package handle.
Set the package handle.
Get the package version.
Set the package version.
Get the package name, in English.
Set the package name, in English.
Get the package description, in English.
Set the package description, in English.
Get the minimum concrete5 version.
Get the mayor minimum concrete5 version.
Set the minimum concrete5 version.
Details
        
                static            PackageInfo
    create()
        
    
    Create a new instance of this class.
        
                            string
    getPackageDirectory()
        
    
    Get the package directory (normalized, without trailing slashes).
        
                            $this
    setPackageDirectory(string $value)
        
    
    Set the package directory.
        
                            string
    getHandle()
        
    
    Get the package handle.
        
                            $this
    setHandle(string $value)
        
    
    Set the package handle.
        
                            string
    getVersion()
        
    
    Get the package version.
        
                            $this
    setVersion(string $value)
        
    
    Set the package version.
        
                            string
    getName()
        
    
    Get the package name, in English.
        
                            $this
    setName(string $value)
        
    
    Set the package name, in English.
        
                            string
    getDescription()
        
    
    Get the package description, in English.
        
                            $this
    setDescription(string $value)
        
    
    Set the package description, in English.
        
                            string
    getMinimumCoreVersion()
        
    
    Get the minimum concrete5 version.
        
                            string
    getMayorMinimumCoreVersion()
        
    
    Get the mayor minimum concrete5 version.
        
                            $this
    setMinimumCoreVersion(string $value)
        
    
    Set the minimum concrete5 version.