메소드 | 설명 | |
---|---|---|
__construct ( Components_Dependencies $dependencies ) | Constructor. | |
createEnvironment ( string $environment, string $config_file ) : Components_Pear_Environment | Create a representation for a PEAR environment. | |
createPackageForDefaultLocation ( string $package_file ) : Components_Pear_Package | Create a package representation for the default PEAR environment. | |
createPackageForEnvironment ( string $package_file, Components_Pear_Environment $environment ) : Components_Pear_Package | Create a package representation for a specific PEAR environment. | |
createPackageForPearConfig ( string $package_file, string $config_file ) : Components_Pear_Package | Create a package representation for a specific PEAR environment. | |
createTgzPackageForEnvironment ( string $package_file, Components_Pear_Environment $environment ) : Components_Pear_Package | Create a package representation for a specific PEAR environment based on a *.tgz archive. | |
getPackageFile ( string $package_xml_path, Components_Pear_Environment $environment ) : PEAR_PackageFile | Return the PEAR Package representation. | |
getPackageFileFromTgz ( string $package_tgz_path, Components_Pear_Environment $environment ) : PEAR_PackageFile | Return the PEAR Package representation based on a local *.tgz archive. |
메소드 | 설명 | |
---|---|---|
_createPackage ( Components_Pear_Environment $environment ) : Components_Pear_Package | Create a generic package representation for a specific PEAR environment. |
public __construct ( Components_Dependencies $dependencies ) | ||
$dependencies | Components_Dependencies | The dependency broker. |
public createEnvironment ( string $environment, string $config_file ) : Components_Pear_Environment | ||
$environment | string | The path to the PEAR environment. |
$config_file | string | The path to the configuration file. |
리턴 | Components_Pear_Environment | The PEAR environment |
public createPackageForDefaultLocation ( string $package_file ) : Components_Pear_Package | ||
$package_file | string | The path of the package XML file. |
리턴 | Components_Pear_Package | The PEAR package. |
public createPackageForEnvironment ( string $package_file, Components_Pear_Environment $environment ) : Components_Pear_Package | ||
$package_file | string | The path of the package XML file. |
$environment | Components_Pear_Environment | The PEAR environment. |
리턴 | Components_Pear_Package | The PEAR package. |
public createPackageForPearConfig ( string $package_file, string $config_file ) : Components_Pear_Package | ||
$package_file | string | The path of the package XML file. |
$config_file | string | The path to the configuration file. |
리턴 | Components_Pear_Package | The PEAR package. |
public createTgzPackageForEnvironment ( string $package_file, Components_Pear_Environment $environment ) : Components_Pear_Package | ||
$package_file | string | The path of the package *.tgz file. |
$environment | Components_Pear_Environment | The environment for the package file. |
리턴 | Components_Pear_Package | The PEAR package. |
public getPackageFile ( string $package_xml_path, Components_Pear_Environment $environment ) : PEAR_PackageFile | ||
$package_xml_path | string | Path to the package.xml file. |
$environment | Components_Pear_Environment | The PEAR environment. |
리턴 | PEAR_PackageFile |
public getPackageFileFromTgz ( string $package_tgz_path, Components_Pear_Environment $environment ) : PEAR_PackageFile | ||
$package_tgz_path | string | Path to the *.tgz file. |
$environment | Components_Pear_Environment | The PEAR environment. |
리턴 | PEAR_PackageFile |