Selen

Workspace
in package

作業ディレクトリの作成・削除を提供するクラス

Table of Contents

Properties

$path  : string

Methods

__construct()  : Workspace
新しいオブジェクトを作成します
__destruct()  : mixed
作業ディレクトリを削除します
create()  : void
作業ディレクトリを作成します
getPath()  : string
作業ディレクトリパスを取得します
remove()  : void
作業ディレクトリを削除します

Properties

Methods

__construct()

新しいオブジェクトを作成します

public __construct(string $path) : Workspace
Parameters
$path : string

作業ディレクトリパスを指定します

Return values
Workspace

新しいオブジェクトを返します

__destruct()

作業ディレクトリを削除します

public __destruct() : mixed

create()

作業ディレクトリを作成します

public create([int $permissions = 0777 ]) : void
Parameters
$permissions : int = 0777

権限を指定します

getPath()

作業ディレクトリパスを取得します

public getPath() : string
Return values
string

作業ディレクトリパスを返します

remove()

作業ディレクトリを削除します

public remove() : void

        
On this page

Search results