Esempio n. 1
0
 function getMethodCommentAttributeFirstWord($comment, $attribute)
 {
     $pieces = strstrafter($comment, '@' . $attribute);
     if ($pieces !== FALSE) {
         $val = MethodTable::cleanComment($pieces);
         return trim(strrstr($val, ' '));
     }
     return "";
 }