\PhugParserException

Represents an exception that is thrown during the parsing process.

Summary

Methods
Properties
Constants
__construct()
getLocation()
getFailureMessage()
getRelatedToken()
message()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$location
$relatedToken
N/A

Properties

$location

$location : 

Type

$relatedToken

$relatedToken : 

Type

Methods

__construct()

__construct(\Phug\Util\SourceLocation  $location,   $message = '',   $code, \Phug\Lexer\TokenInterface  $relatedToken = null,   $previous = null) 

Parameters

\Phug\Util\SourceLocation $location
$message
$code
\Phug\Lexer\TokenInterface $relatedToken
$previous

getFailureMessage()

getFailureMessage(  $action,   $message, array  $details = array()) 

Parameters

$action
$message
array $details

message()

message(  $message, array  $details = array()) 

Parameters

$message
array $details