eloquent/pathogen API
Class

Eloquent\Pathogen\Exception\InvalidPathAtomCharacterException

class InvalidPathAtomCharacterException extends AbstractInvalidPathAtomException

An invalid character was encountered in a path atom.

Methods

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

Construct a new invalid path atom character exception.

string atom()

Get the invalid path atom.

from AbstractInvalidPathAtomException
string reason()

Get the reason message.

string character()

Get the invalid character that caused the exception.

Details

at line 28
public __construct(string $atom, string $character, Exception $previous = null)

Construct a new invalid path atom character exception.

Parameters

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

public string atom()

Get the invalid path atom.

Return Value

string The invalid path atom.

at line 50
public string reason()

Get the reason message.

Return Value

string The reason message.

at line 40
public string character()

Get the invalid character that caused the exception.

Return Value

string The invalid character.