PHP Class PHPSemVerChecker\Operation\ClassMethodOperationDelta

Inheritance: extends PHPSemVerChecker\Operation\Operation
Show file Open project: tomzx/php-semver-checker

Protected Properties

Property Type Description
$classMethodAfter PhpParser\Node\Stmt\ClassMethod
$classMethodBefore PhpParser\Node\Stmt\ClassMethod
$context string
$contextAfter PhpParser\Node\Stmt
$contextBefore PhpParser\Node\Stmt
$fileAfter string
$fileBefore string
$visibility integer

Public Methods

Method Description
__construct ( string $context, string $fileBefore, PhpParser\Node\Stmt $contextBefore, ClassMethod $classMethodBefore, string $fileAfter, PhpParser\Node\Stmt $contextAfter, ClassMethod $classMethodAfter )
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 $fileBefore, PhpParser\Node\Stmt $contextBefore, ClassMethod $classMethodBefore, string $fileAfter, PhpParser\Node\Stmt $contextAfter, ClassMethod $classMethodAfter )
$context string
$fileBefore string
$contextBefore PhpParser\Node\Stmt
$classMethodBefore PhpParser\Node\Stmt\ClassMethod
$fileAfter string
$contextAfter PhpParser\Node\Stmt
$classMethodAfter 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

$classMethodAfter protected property

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

$classMethodBefore protected property

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

$context protected property

protected string $context
return string

$contextAfter protected property

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

$contextBefore protected property

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

$fileAfter protected property

protected string $fileAfter
return string

$fileBefore protected property

protected string $fileBefore
return string

$visibility protected property

protected int $visibility
return integer