PHP Class PHPSemVerChecker\Operation\ClassMethodOperationUnary

Inheritance: extends PHPSemVerChecker\Operation\Operation
Exibir arquivo Open project: tomzx/php-semver-checker

Protected Properties

Property Type Description
$classMethod PhpParser\Node\Stmt\ClassMethod
$context string
$contextValue PhpParser\Node\Stmt
$file string
$visibility integer

Public Methods

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

Protected Methods

Method Description
getVisibility ( $context ) : string

Method Details

__construct() public method

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 method

public getCode ( ) : string
return string

getLine() public method

public getLine ( ) : integer
return integer

getLocation() public method

public getLocation ( ) : string
return string

getReason() public method

public getReason ( ) : string
return string

getTarget() public method

public getTarget ( ) : string
return string

getVisibility() protected method

protected getVisibility ( $context ) : string
return string

Property Details

$classMethod protected_oe property

protected ClassMethod,PhpParser\Node\Stmt $classMethod
return PhpParser\Node\Stmt\ClassMethod

$context protected_oe property

protected string $context
return string

$contextValue protected_oe property

protected Stmt,PhpParser\Node $contextValue
return PhpParser\Node\Stmt

$file protected_oe property

protected string $file
return string

$visibility protected_oe property

protected int $visibility
return integer