|
|
|
The Phar class
Introduction
The Phar class provides a high-level interface to accessing and creating
phar archives.
Class synopsis
Phar
class Phar
extends
DirectoryIterator
implements
Countable
,
ArrayAccess
{
bool addFile
( string $file
[, string $localname
] )
object compress
( int $compression
[, string $extension
] )
void __construct
( string $fname
[, int $flags
[, string $alias
]] )
PharData convertToData
([ int $format
[, int $compression
[, string $extension
]]] )
bool copy
( string $oldfile
, string $newfile
)
int extractTo
( string $pathto
[, string|array $files
[, bool $overwrite
]] )
mixed loadPhar
( string $filename
[, string $alias
] )
mixed mapPhar
([ string $alias
[, int $dataoffset
]] )
void mount
( string $pharpath
, string $externalpath
)
void offsetSet
( string $offset
, string $value
)
void webPhar
( string $alias
, string $index
, string $f404
, array $mimetypes
, array $rewrites
)
}
Table of Contents
|
|
|
|
|