# PathInterface

Chevere\Interfaces\Filesystem\PathInterface

view source

# Description

Describes the component in charge of interact with filesystem paths.

# Methods

# __construct()

# Parameters

  1. string $absolute

# absolute()

RETURN

string


# exists()

Indicates whether the path exists.

RETURN

bool


# isDir()

Indicates whether the path is a directory and exists.

RETURN

bool


# isFile()

Indicates whether the path is a file and exists.

RETURN

bool


# chmod()

Wrapper for \chmod.

# Parameters

  1. int $mode

RETURN

void


# isWritable()

Wrapper for \is_writeable.

RETURN

bool


# isReadable()

Wrapper for \is_readable.

RETURN

bool


# getChild()

Get a child instance for the target child path.

# Parameters

  1. string $path

RETURN

PathInterface


Last Updated: 8/2/2020, 1:36:58 AM