BcFolder
in package
Class BcFolder
Table of Contents
Properties
- $path : string
- パス
Methods
- __construct() : mixed
- Constructor
- create() : bool
- ディレクトリを作成する
- delete() : mixed
- ディレクトリを再帰的に削除する
- getFiles() : array<string|int, mixed>
- ディレクトリ内のファイル一覧を取得する
- getFolders() : array<string|int, mixed>
- ディレクトリ内のフォルダ一覧を取得する
- getPath() : string
- パスを取得する
Properties
$path
パス
private
string
$path
Methods
__construct()
Constructor
public
__construct(string $path) : mixed
Parameters
- $path : string
Tags
create()
ディレクトリを作成する
public
create([int $mask = 0777 ]) : bool
Parameters
- $mask : int = 0777
Tags
Return values
booldelete()
ディレクトリを再帰的に削除する
public
delete() : mixed
Tags
getFiles()
ディレクトリ内のファイル一覧を取得する
public
getFiles([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $options : array<string|int, mixed> = []
Tags
Return values
array<string|int, mixed>getFolders()
ディレクトリ内のフォルダ一覧を取得する
public
getFolders([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $options : array<string|int, mixed> = []
Tags
Return values
array<string|int, mixed>getPath()
パスを取得する
public
getPath() : string