메소드 |
설명 |
|
__construct ( File $file, integer $line, integer $column, integer $severity, string $message ) |
Creates a new violation. |
|
getColumn ( ) : integer |
Returns the column number of the violation. |
|
getFile ( ) : File |
Returns the file of the violation. |
|
getLine ( ) : integer |
Returns the line number of the violation. |
|
getMessage ( ) : string |
Returns the violations message. |
|
getSeverities ( ) : int[] |
Violation severities, in order from most deadly to most peaceful. |
|
getSeverity ( ) : integer |
Returns the severity of the violation. |
|
getSeverityFromString ( string $severityName ) : integer |
Get a severity level from a severity name. |
|
getSeverityName ( ) : string |
Returns the named value of the severity. |
|