PHP Class PHPSemVerChecker\Operation\FunctionOperationUnary

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

Protected Properties

Property Type Description
$file string
$function PhpParser\Node\Stmt\Function_

Public Methods

Method Description
__construct ( string $file, Function_ $function )
getLine ( ) : integer
getLocation ( ) : string
getTarget ( ) : string

Method Details

__construct() public method

public __construct ( string $file, Function_ $function )
$file string
$function 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

$file protected property

protected string $file
return string

$function protected property

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