Свойство | Type | Description | |
---|---|---|---|
$version | string | version | |
$versionDate | DateTime | versionDate |
Méthode | Description | |
---|---|---|
compile ( ) | Compiles composer into a single phar file. |
Méthode | Description | |
---|---|---|
addBin ( Phar $phar ) : |
Add bin into Phar. | |
addFile ( Phar $phar, Symfony\Component\Finder\SplFileInfo $file, boolean $strip = true ) : |
Add a file into the phar package. | |
addStub ( Phar $phar ) | ||
stripWhitespace ( string $source ) : string | Removes whitespace from a PHP source string while preserving line numbers. |
Méthode | Description | |
---|---|---|
addComposerVendorFiles ( Phar $phar ) : |
Add composer vendor files. | |
addLicense ( Phar $phar ) : |
Add license. | |
addPHPFiles ( Phar $phar ) : |
Add php files. | |
addVendorFiles ( Phar $phar ) : |
Add vendor files. | |
loadVersion ( ) | Load versions. |
protected addBin ( Phar $phar ) : |
||
$phar | Phar | Phar |
Résultat | self Object |
protected stripWhitespace ( string $source ) : string | ||
$source | string | A PHP string |
Résultat | string | The PHP string with the whitespace removed |