PHP Class PHPSemVerChecker\Operation\FunctionOperationDelta

Inheritance: extends PHPSemVerChecker\Operation\Operation
显示文件 Open project: tomzx/php-semver-checker

Protected Properties

Property Type Description
$fileAfter string
$fileBefore string
$functionAfter PhpParser\Node\Stmt\Function_
$functionBefore PhpParser\Node\Stmt\Function_

Public Methods

Method Description
__construct ( string $fileBefore, Function_ $functionBefore, string $fileAfter, Function_ $functionAfter )
getLine ( ) : integer
getLocation ( ) : string
getTarget ( ) : string

Method Details

__construct() public method

public __construct ( string $fileBefore, Function_ $functionBefore, string $fileAfter, Function_ $functionAfter )
$fileBefore string
$functionBefore PhpParser\Node\Stmt\Function_
$fileAfter string
$functionAfter PhpParser\Node\Stmt\Function_

getLine() public method

public getLine ( ) : integer
return integer

getLocation() public method

public getLocation ( ) : string
return string

getTarget() public method

public getTarget ( ) : string
return string

Property Details

$fileAfter protected_oe property

protected string $fileAfter
return string

$fileBefore protected_oe property

protected string $fileBefore
return string

$functionAfter protected_oe property

protected Function_,PhpParser\Node\Stmt $functionAfter
return PhpParser\Node\Stmt\Function_

$functionBefore protected_oe property

protected Function_,PhpParser\Node\Stmt $functionBefore
return PhpParser\Node\Stmt\Function_