PHP Class Sstalle\php7cc\CompatibilityViolation\Message

Inheritance: extends Sstalle\php7cc\AbstractBaseMessage
显示文件 Open project: sstalle/php7cc Class Usage Examples

Protected Properties

Property Type Description
$level integer
$nodes PhpParser\Node[]

Public Methods

Method Description
__construct ( string $text, integer | null $line = null, integer $level = self::LEVEL_INFO, array $nodes = [] )
getLevel ( ) : integer
getNodes ( ) : PhpParser\Node[]

Protected Methods

Method Description
generateText ( )

Method Details

__construct() public method

public __construct ( string $text, integer | null $line = null, integer $level = self::LEVEL_INFO, array $nodes = [] )
$text string
$line integer | null
$level integer
$nodes array

generateText() protected method

protected generateText ( )

getLevel() public method

public getLevel ( ) : integer
return integer

getNodes() public method

public getNodes ( ) : PhpParser\Node[]
return PhpParser\Node[]

Property Details

$level protected_oe property

protected int $level
return integer

$nodes protected_oe property

protected Node[],PhpParser $nodes
return PhpParser\Node[]