Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phan
Language
Element
Parameter
hasDefaultValue
Phan\Language\Element\Parameter::hasDefaultValue PHP Method
Parameter Class Documentation
Show file
Open project: etsy/phan
hasDefaultValue()
public
method
public
hasDefaultValue
( ) :
boolean
return
boolean
True if this parameter has a type for its default value
public function hasDefaultValue() : bool { return !empty($this->default_value_type); }
Parameter
__clone
__construct
__toString
asNonVariadic
fromNode
getDefaultValue
getDefaultValueType
getUnionType
getVariadicElementUnionType
hasDefaultValue
isOptional
isPassByReference
isRequired
isVariadic
listFromNode
setDefaultValue
setDefaultValueType
setUnionType