/** * Returns whether a given doc is static * * @param text.doclet.Doc d * @return bool */ protected function isStatic(Doc $d) { return array_key_exists('static', $d->getModifiers()); }