private function parseThrowsAnnotations($comment) { $throws = array(); if (preg_match_all(self::REGEXP_THROWS_TYPE, $comment, $matches) > 0) { foreach ($matches[1] as $match) { $throws[] = $match; } } return $throws; }