classes/phing/tasks/ext/phar/PharPackageTask.php

\PharPackageTask

Package task for {@link http://ru.php.net/manual/en/book.phar.php Phar technology}.

This is very closely based on the ANT class of the same name.

Extends from
\MatchingTask
author
Alexey Shockov
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext
since
2.4.0
version
$Revision: 532 $

Properties

Propertyprivatestring  $alias= ''

Details
Type
string
Propertyprivate\PhingFile  $baseDirectory= ''

Base directory, from where local package paths will be calculated.

Details
Type
\PhingFile
Propertyprivate\PhingFile  $cliStubFile= ''

Details
Type
\PhingFile
Propertyprivateint  $compression= 'Phar'

Default valuePharDetails
Type
int
Propertyprivate\PhingFile  $destinationFile= ''

Details
Type
\PhingFile
Propertyprivatearray  $filesets= 'array'

Default valuearrayDetails
Type
array
Propertyprivate\PharMetadata  $metadata= 'null'

Default valuenullDetails
Type
\PharMetadata
Propertyprivateint  $signatureAlgorithm= 'Phar'

Default valuePharDetails
Type
int
Propertyprivatestring  $stubPath= ''

Details
Type
string
Propertyprivate\PhingFile  $webStubFile= ''

Details
Type
\PhingFile

Methods

methodprivate  buildPhar( ) : \Phar
Build and configure Phar object.
Returns
Type Description
\Phar
methodprivate  checkPreconditions( ) :
Details
throws
methodpublic  createFileSet( ) : \FileSet
Returns
Type Description
\FileSet
methodpublic  createMetadata( ) : \PharMetadata
Returns
Type Description
\PharMetadata
methodpublic  main( ) :
Details
throws
methodpublic  setAlias(  $alias ) :
Parameters
Name Type Description
$alias
methodpublic  setBaseDir( \PhingFile $baseDirectory ) :
Parameters
Name Type Description
$baseDirectory \PhingFile
methodpublic  setCliStub( \PhingFile $stubFile ) :
Parameters
Name Type Description
$stubFile \PhingFile
methodpublic  setCompression( string $compression ) :
Parameters
Name Type Description
$compression string
methodpublic  setDestFile( \PhingFile $destinationFile ) :
Parameters
Name Type Description
$destinationFile \PhingFile
methodpublic  setSignature( string $algorithm ) :
Parameters
Name Type Description
$algorithm string
methodpublic  setStub( string $stubPath ) :
Parameters
Name Type Description
$stubPath string
methodpublic  setWebStub( \PhingFile $stubFile ) :
Parameters
Name Type Description
$stubFile \PhingFile
Documentation was generated by DocBlox 0.13.1.