Documentation

Directory
in package

Table of Contents

Properties

$path  : string

Methods

__construct()  : mixed
asString()  : string
child()  : Directory
ensureExists()  : void
exists()  : bool
file()  : Filename
getRelativePathTo()  : string
hasChild()  : bool
isWritable()  : bool
withAbsolutePath()  : Directory
ensureIsDirectory()  : mixed
ensureValidMode()  : mixed

Properties

Methods

__construct()

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

asString()

public asString() : string
Return values
string

exists()

public exists() : bool
Return values
bool

hasChild()

public hasChild(string $child) : bool
Parameters
$child : string
Return values
bool

isWritable()

public isWritable() : bool
Return values
bool

ensureValidMode()

private ensureValidMode(int $mode) : mixed
Parameters
$mode : int

        
On this page

Search results