PHP Class PHPSA\IssueLocation

Show file Open project: ovr/phpsa

Protected Properties

Property Type Description
$filePath string
$lineStart integer

Public Methods

Method Description
__construct ( string $filePath, integer $lineStart )
getFileName ( ) : string
getFilePath ( ) : string Get path to the file + filename
getLineStart ( ) : integer
toArray ( ) : array

Method Details

__construct() public method

public __construct ( string $filePath, integer $lineStart )
$filePath string
$lineStart integer

getFileName() public method

public getFileName ( ) : string
return string

getFilePath() public method

Get path to the file + filename
public getFilePath ( ) : string
return string

getLineStart() public method

public getLineStart ( ) : integer
return integer

toArray() public method

public toArray ( ) : array
return array

Property Details

$filePath protected property

protected string $filePath
return string

$lineStart protected property

protected int $lineStart
return integer