Documentation

Filename
in package

Table of Contents

Properties

$name  : string

Methods

__construct()  : mixed
asString()  : string
delete()  : bool
exists()  : bool
getDirectory()  : Directory
getRelativePathTo()  : Filename
isExecutable()  : bool
isLink()  : bool
isOlderThan()  : bool
isWritable()  : bool
putContent()  : int
read()  : File
renameTo()  : Filename
withAbsolutePath()  : Filename
withoutExtension()  : Filename
getBasename()  : string
getLastModified()  : LastModifiedDate

Properties

Methods

__construct()

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

asString()

public asString() : string
Return values
string

delete()

public delete() : bool
Return values
bool

exists()

public exists() : bool
Return values
bool

isExecutable()

public isExecutable() : bool
Return values
bool
public isLink() : bool
Return values
bool

isOlderThan()

public isOlderThan(DateTimeImmutable $date) : bool
Parameters
$date : DateTimeImmutable
Return values
bool

isWritable()

public isWritable() : bool
Return values
bool

putContent()

public putContent(string $content) : int
Parameters
$content : string
Return values
int

getBasename()

private getBasename() : string
Return values
string

        
On this page

Search results