PHP Class MyBuilder\Conductor\PackageZipper

Datei anzeigen Open project: mybuilder/conductor Class Usage Examples

Public Methods

Method Description
__construct ( $zipsPath )
zip ( SplFileInfo $composerFile ) : string

Private Methods

Method Description
createZip ( $composerFile, $zipPath )
getZipPath ( $packageName, $version )
verifyZip ( $composerFile, $zipPath, $info )

Method Details

__construct() public method

public __construct ( $zipsPath )

zip() public method

public zip ( SplFileInfo $composerFile ) : string
$composerFile SplFileInfo the package composer.json file path
return string The package conductor file path