PHP Class PHPSemVerChecker\Operation\ClassMethodOperationUnary

Inheritance: extends PHPSemVerChecker\Operation\Operation
Afficher le fichier Open project: tomzx/php-semver-checker

Protected Properties

Свойство Type Description
$classMethod PhpParser\Node\Stmt\ClassMethod
$context string
$contextValue PhpParser\Node\Stmt
$file string
$visibility integer

Méthodes publiques

Méthode Description
__construct ( string $context, string $file, PhpParser\Node\Stmt $contextValue, ClassMethod $classMethod )
getCode ( ) : string
getLine ( ) : integer
getLocation ( ) : string
getReason ( ) : string
getTarget ( ) : string

Méthodes protégées

Méthode Description
getVisibility ( $context ) : string

Method Details

__construct() public méthode

public __construct ( string $context, string $file, PhpParser\Node\Stmt $contextValue, ClassMethod $classMethod )
$context string
$file string
$contextValue PhpParser\Node\Stmt
$classMethod PhpParser\Node\Stmt\ClassMethod

getCode() public méthode

public getCode ( ) : string
Résultat string

getLine() public méthode

public getLine ( ) : integer
Résultat integer

getLocation() public méthode

public getLocation ( ) : string
Résultat string

getReason() public méthode

public getReason ( ) : string
Résultat string

getTarget() public méthode

public getTarget ( ) : string
Résultat string

getVisibility() protected méthode

protected getVisibility ( $context ) : string
Résultat string

Property Details

$classMethod protected_oe property

protected ClassMethod,PhpParser\Node\Stmt $classMethod
Résultat PhpParser\Node\Stmt\ClassMethod

$context protected_oe property

protected string $context
Résultat string

$contextValue protected_oe property

protected Stmt,PhpParser\Node $contextValue
Résultat PhpParser\Node\Stmt

$file protected_oe property

protected string $file
Résultat string

$visibility protected_oe property

protected int $visibility
Résultat integer