PHP Class PHPSemVerChecker\Operation\Visibility

Show file Open project: tomzx/php-semver-checker Class Usage Examples

Public Methods

Method Description
get ( integer $visibility ) : integer
getForContext ( PhpParser\Node\Stmt $context ) : integer
getMapping ( ) : array
getModifier ( string $visibility ) : integer
toString ( integer $visibility ) : string

Method Details

get() public static method

public static get ( integer $visibility ) : integer
$visibility integer
return integer

getForContext() public static method

public static getForContext ( PhpParser\Node\Stmt $context ) : integer
$context PhpParser\Node\Stmt
return integer

getMapping() public static method

public static getMapping ( ) : array
return array

getModifier() public static method

public static getModifier ( string $visibility ) : integer
$visibility string
return integer

toString() public static method

public static toString ( integer $visibility ) : string
$visibility integer
return string