PHP Class AppserverIo\Appserver\Core\Extractors\PharExtractor

Inheritance: extends AppserverIo\Appserver\Core\AbstractExtractor
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
backupArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void Creates a backup of files that are NOT part of the passed archive.
createUrl ( string $fileName ) : string Returns the URL for the passed pathname.
deployArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void (non-PHPdoc)
getExtensionSuffix ( ) : string (non-PHPdoc)

Method Details

backupArchive() public méthode

Creates a backup of files that are NOT part of the passed archive.
public backupArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container the archive belongs to
$archive SplFileInfo Backup files that are NOT part of this archive
Résultat void

createUrl() public méthode

Returns the URL for the passed pathname.
public createUrl ( string $fileName ) : string
$fileName string The pathname to return the URL for
Résultat string The URL itself

deployArchive() public méthode

(non-PHPdoc)
See also: AppserverIo\Appserver\Core\AbstractExtractor::deployArchive()
public deployArchive ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, SplFileInfo $archive ) : void
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container the archive belongs to
$archive SplFileInfo The archive file to be deployed
Résultat void

getExtensionSuffix() public méthode

(non-PHPdoc)
public getExtensionSuffix ( ) : string
Résultat string the archive extension suffix