getDocBlockTypeStrings() public method

Get the DocBlock type hints as an array of strings.
public getDocBlockTypeStrings ( ) : string[]
return string[]
コード例 #1
0
ファイル: Parameter.php プロジェクト: nochso/writeme
 /**
  * @return string
  */
 public function getHints()
 {
     $hints = $this->reflectionParameter->getDocBlockTypeStrings();
     $hints[] = $this->reflectionParameter->getTypeHint();
     $hints = array_filter($hints, 'strlen');
     return implode('|', $hints);
 }