eloquent/pathogen API
Class

Eloquent\Pathogen\Exception\PathAtomContainsSeparatorException

class PathAtomContainsSeparatorException extends AbstractInvalidPathAtomException

A supplied path atom contains a path separator.

Methods

__construct(string $atom, Exception $previous = null)

Construct a new invalid path atom exception.

from AbstractInvalidPathAtomException
string atom()

Get the invalid path atom.

from AbstractInvalidPathAtomException
string reason()

Get the reason message.

Details

public __construct(string $atom, Exception $previous = null)

Construct a new invalid path atom exception.

Parameters

string $atom The invalid path atom.
Exception $previous The cause, if available.

public string atom()

Get the invalid path atom.

Return Value

string The invalid path atom.

at line 25
public string reason()

Get the reason message.

Return Value

string The reason message.