eloquent/pathogen API
Class

Eloquent\Pathogen\Exception\NonRelativePathException

class NonRelativePathException extends AbstractInvalidPathException

The supplied path is not relative.

Methods

__construct(PathInterface $path, Exception $previous = null)

Construct a new invalid path exception.

from AbstractInvalidPathException
PathInterface path()

Get the invalid path.

from AbstractInvalidPathException
string reason()

Get the reason message.

Details

public __construct(PathInterface $path, Exception $previous = null)

Construct a new invalid path exception.

Parameters

PathInterface $path The invalid path.
Exception $previous The cause, if available.

public PathInterface path()

Get the invalid path.

Return Value

PathInterface The invalid path.

at line 24
public string reason()

Get the reason message.

Return Value

string The reason message.