SplFileInfo::getFileInfo

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

SplFileInfo::getFileInfoファイルの SplFileInfo オブジェクトを取得する

説明

public SplFileInfo::getFileInfo(string $class_name = ?): SplFileInfo

このメソッドは、参照先のファイルの SplFileInfo オブジェクトを取得します。

パラメータ

class_name

使用したい SplFileInfo 派生クラスの名前。

返り値

そのファイル用に作成した SplFileInfo オブジェクトを返します。

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top