コード例 #1
0
ファイル: Helper.php プロジェクト: slavomirkuzma/itc-bundle
 /**
  *
  * @param ReflectionMethod $reflection
  * @return string
  */
 protected static function getOperationReturns(IReflection $reflection)
 {
     $return = $reflection->getAnnotation("return");
     return implode(",", array_values(is_array($return) ? $return : []));
 }