PHP Class PHPStan\Reflection\Php\DummyOptionalParameter

Inheritance: implements PHPStan\Reflection\ParameterReflection
Show file Open project: phpstan/phpstan

Public Methods

Method Description
__construct ( string $name, PHPStan\Type\Type $type, boolean $passedByReference = false )
getName ( ) : string
getType ( ) : PHPStan\Type\Type
isOptional ( ) : boolean
isPassedByReference ( ) : boolean

Method Details

__construct() public method

public __construct ( string $name, PHPStan\Type\Type $type, boolean $passedByReference = false )
$name string
$type PHPStan\Type\Type
$passedByReference boolean

getName() public method

public getName ( ) : string
return string

getType() public method

public getType ( ) : PHPStan\Type\Type
return PHPStan\Type\Type

isOptional() public method

public isOptional ( ) : boolean
return boolean

isPassedByReference() public method

public isPassedByReference ( ) : boolean
return boolean