const
integer
FilesystemIterator::CURRENT_AS_PATHNAME
= 32
;
const
integer
FilesystemIterator::CURRENT_AS_FILEINFO
= 0
;
const
integer
FilesystemIterator::CURRENT_AS_SELF
= 16
;
const
integer
FilesystemIterator::CURRENT_MODE_MASK
= 240
;
const
integer
FilesystemIterator::KEY_AS_PATHNAME
= 0
;
const
integer
FilesystemIterator::KEY_AS_FILENAME
= 256
;
const
integer
FilesystemIterator::FOLLOW_SYMLINKS
= 512
;
const
integer
FilesystemIterator::KEY_MODE_MASK
= 3840
;
const
integer
FilesystemIterator::NEW_CURRENT_AND_KEY
= 256
;
const
integer
FilesystemIterator::SKIP_DOTS
= 4096
;
const
integer
FilesystemIterator::UNIX_PATHS
= 8192
;
public addFile
(
string $file
[,
string $localname
] ) :
void
public addFromString
(
string $localname
,
string $contents
) :
void
final public static canCompress
([
int $type
= 0
] ) :
bool
final public static canWrite
(
void
) :
bool
public compress
(
int $compression
[,
string $extension
] ) :
Phar
public __construct
(
string $fname
[,
int $flags
[,
string $alias
]] )
public convertToData
([
int $format
= 9021976
[,
int $compression
= 9021976
[,
string $extension
]]] ) :
PharData
public convertToExecutable
([
int $format
= 9021976
[,
int $compression
= 9021976
[,
string $extension
]]] ) :
Phar
public copy
(
string $oldfile
,
string $newfile
) :
bool
public count
(
void
) :
int
final public static createDefaultStub
([
string $indexfile
[,
string $webindexfile
]] ) :
string
public delete
(
string $entry
) :
bool
public extractTo
(
string $pathto
[,
string|array $files
[,
bool $overwrite
= FALSE
]] ) :
bool
final public static isValidPharFilename
(
string $filename
[,
bool $executable
= TRUE
] ) :
bool
final public static loadPhar
(
string $filename
[,
string $alias
] ) :
bool
final public static mapPhar
([
string $alias
[,
int $dataoffset
= 0
]] ) :
bool
final public static mount
(
string $pharpath
,
string $externalpath
) :
void
final public static mungServer
(
array $munglist
) :
void
public offsetSet
(
string $offset
,
string $value
) :
void
final public static running
([
bool $retphar
= TRUE
] ) :
string
public setAlias
(
string $alias
) :
bool
public setDefaultStub
([
string $index
[,
string $webindex
]] ) :
bool
public setStub
(
string $stub
[,
int $len
= -1
] ) :
bool
final public static webPhar
([
string $alias
[,
string $index
= "index.php"
[,
string $f404
[,
array $mimetypes
[,
callable $rewrites
]]]]] ) :
void
}