php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
PharFileInfo Class Reference
Inheritance diagram for PharFileInfo:
SplFileInfo Stringable

Public Member Functions

 __construct (string $filename)
 
 __destruct ()
 
 chmod (int $perms)
 
 compress (int $compression)
 
 decompress ()
 
 delMetadata ()
 
 getCompressedSize ()
 
 getCRC32 ()
 
 getContent ()
 
 getMetadata (array $unserializeOptions=[])
 
 getPharFlags ()
 
 hasMetadata ()
 
 isCompressed (?int $compression=null)
 
 isCRCChecked ()
 
 setMetadata (mixed $metadata)
 
- Public Member Functions inherited from SplFileInfo
 getPath ()
 
 getFilename ()
 
 getExtension ()
 
 getBasename (string $suffix="")
 
 getPathname ()
 
 getPerms ()
 
 getInode ()
 
 getSize ()
 
 getOwner ()
 
 getGroup ()
 
 getATime ()
 
 getMTime ()
 
 getCTime ()
 
 getType ()
 
 isWritable ()
 
 isReadable ()
 
 isExecutable ()
 
 isFile ()
 
 isDir ()
 
 isLink ()
 
 getLinkTarget ()
 
 getRealPath ()
 
 getFileInfo (?string $class=null)
 
 getPathInfo (?string $class=null)
 
 openFile (string $mode="r", bool $useIncludePath=false, $context=null)
 
 setFileClass (string $class=SplFileObject::class)
 
 setInfoClass (string $class=SplFileInfo::class)
 
 __toString ()
 
 __debugInfo ()
 
 _bad_state_ex ()
 

Detailed Description

Definition at line 541 of file phar_object.stub.php.

Constructor & Destructor Documentation

◆ __construct()

PharFileInfo::__construct ( string $filename)

Reimplemented from SplFileInfo.

Definition at line 543 of file phar_object.stub.php.

◆ __destruct()

PharFileInfo::__destruct ( )

Definition at line 545 of file phar_object.stub.php.

Member Function Documentation

◆ chmod()

PharFileInfo::chmod ( int $perms)

@tentative-return-type

Definition at line 548 of file phar_object.stub.php.

◆ compress()

PharFileInfo::compress ( int $compression)

@tentative-return-type

Definition at line 551 of file phar_object.stub.php.

◆ decompress()

PharFileInfo::decompress ( )

@tentative-return-type

Definition at line 554 of file phar_object.stub.php.

◆ delMetadata()

PharFileInfo::delMetadata ( )

@tentative-return-type

Definition at line 557 of file phar_object.stub.php.

◆ getCompressedSize()

PharFileInfo::getCompressedSize ( )

@tentative-return-type

Definition at line 560 of file phar_object.stub.php.

◆ getContent()

PharFileInfo::getContent ( )

@tentative-return-type

Definition at line 566 of file phar_object.stub.php.

◆ getCRC32()

PharFileInfo::getCRC32 ( )

@tentative-return-type

Definition at line 563 of file phar_object.stub.php.

◆ getMetadata()

PharFileInfo::getMetadata ( array $unserializeOptions = [])

@tentative-return-type

Definition at line 569 of file phar_object.stub.php.

◆ getPharFlags()

PharFileInfo::getPharFlags ( )

@tentative-return-type

Definition at line 572 of file phar_object.stub.php.

◆ hasMetadata()

PharFileInfo::hasMetadata ( )

@tentative-return-type

Definition at line 575 of file phar_object.stub.php.

◆ isCompressed()

PharFileInfo::isCompressed ( ?int $compression = null)

@tentative-return-type

Definition at line 578 of file phar_object.stub.php.

◆ isCRCChecked()

PharFileInfo::isCRCChecked ( )

@tentative-return-type

Definition at line 581 of file phar_object.stub.php.

◆ setMetadata()

PharFileInfo::setMetadata ( mixed $metadata)

@tentative-return-type

Definition at line 584 of file phar_object.stub.php.


The documentation for this class was generated from the following file: