Get the DocBlock type hints as an array of strings.
public getDocBlockTypeStrings ( ) : string[] | ||
return | string[] |
/** * @return string */ public function getHints() { $hints = $this->reflectionParameter->getDocBlockTypeStrings(); $hints[] = $this->reflectionParameter->getTypeHint(); $hints = array_filter($hints, 'strlen'); return implode('|', $hints); }