|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| __construct (string $filename) | |
| 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 () | |
@generate-class-entries @not-serializable
Definition at line 6 of file spl_directory.stub.php.
| SplFileInfo::__construct | ( | string | $filename | ) |
Reimplemented in DirectoryIterator, and PharFileInfo.
Definition at line 8 of file spl_directory.stub.php.
| SplFileInfo::__debugInfo | ( | ) |
@tentative-return-type
Definition at line 98 of file spl_directory.stub.php.
| SplFileInfo::__toString | ( | ) |
@implementation-alias SplFileInfo\getPathname
Implements Stringable.
Reimplemented in DirectoryIterator, and SplFileObject.
Definition at line 95 of file spl_directory.stub.php.
|
final |
@tentative-return-type
Definition at line 104 of file spl_directory.stub.php.
| SplFileInfo::getATime | ( | ) |
@tentative-return-type
Definition at line 41 of file spl_directory.stub.php.
| SplFileInfo::getBasename | ( | string | $suffix = "" | ) |
@tentative-return-type
Reimplemented in DirectoryIterator.
Definition at line 20 of file spl_directory.stub.php.
| SplFileInfo::getCTime | ( | ) |
@tentative-return-type
Definition at line 47 of file spl_directory.stub.php.
| SplFileInfo::getExtension | ( | ) |
@tentative-return-type
Reimplemented in DirectoryIterator.
Definition at line 17 of file spl_directory.stub.php.
| SplFileInfo::getFileInfo | ( | ?string | $class = null | ) |
@tentative-return-type
Definition at line 77 of file spl_directory.stub.php.
| SplFileInfo::getFilename | ( | ) |
@tentative-return-type
Reimplemented in DirectoryIterator.
Definition at line 14 of file spl_directory.stub.php.
| SplFileInfo::getGroup | ( | ) |
@tentative-return-type
Definition at line 38 of file spl_directory.stub.php.
| SplFileInfo::getInode | ( | ) |
@tentative-return-type
Definition at line 29 of file spl_directory.stub.php.
| SplFileInfo::getLinkTarget | ( | ) |
@tentative-return-type
Definition at line 71 of file spl_directory.stub.php.
| SplFileInfo::getMTime | ( | ) |
@tentative-return-type
Definition at line 44 of file spl_directory.stub.php.
| SplFileInfo::getOwner | ( | ) |
@tentative-return-type
Definition at line 35 of file spl_directory.stub.php.
| SplFileInfo::getPath | ( | ) |
@tentative-return-type
Reimplemented in Phar, and PharData.
Definition at line 11 of file spl_directory.stub.php.
| SplFileInfo::getPathInfo | ( | ?string | $class = null | ) |
@tentative-return-type
Definition at line 80 of file spl_directory.stub.php.
| SplFileInfo::getPathname | ( | ) |
@tentative-return-type
Definition at line 23 of file spl_directory.stub.php.
| SplFileInfo::getPerms | ( | ) |
@tentative-return-type
Definition at line 26 of file spl_directory.stub.php.
| SplFileInfo::getRealPath | ( | ) |
@tentative-return-type
Definition at line 74 of file spl_directory.stub.php.
| SplFileInfo::getSize | ( | ) |
@tentative-return-type
Definition at line 32 of file spl_directory.stub.php.
| SplFileInfo::getType | ( | ) |
@tentative-return-type
Definition at line 50 of file spl_directory.stub.php.
| SplFileInfo::isDir | ( | ) |
@tentative-return-type
Definition at line 65 of file spl_directory.stub.php.
| SplFileInfo::isExecutable | ( | ) |
@tentative-return-type
Definition at line 59 of file spl_directory.stub.php.
| SplFileInfo::isFile | ( | ) |
@tentative-return-type
Definition at line 62 of file spl_directory.stub.php.
| SplFileInfo::isLink | ( | ) |
@tentative-return-type
Definition at line 68 of file spl_directory.stub.php.
| SplFileInfo::isReadable | ( | ) |
@tentative-return-type
Definition at line 56 of file spl_directory.stub.php.
| SplFileInfo::isWritable | ( | ) |
@tentative-return-type
Reimplemented in Phar, and PharData.
Definition at line 53 of file spl_directory.stub.php.
| SplFileInfo::openFile | ( | string | $mode = "r", |
| bool | $useIncludePath = false, | ||
| $context = null ) |
| resource | null | $context | @tentative-return-type |
Definition at line 86 of file spl_directory.stub.php.
| SplFileInfo::setFileClass | ( | string | $class = SplFileObject::class | ) |
@tentative-return-type
Definition at line 89 of file spl_directory.stub.php.
| SplFileInfo::setInfoClass | ( | string | $class = SplFileInfo::class | ) |
@tentative-return-type
Definition at line 92 of file spl_directory.stub.php.