protected isTagIgnored ( string $tagName ) : boolean | ||
$tagName | string | The annotation tag to check |
return | boolean | TRUE if the tag is configured to be ignored, FALSE otherwise |
protected function isTagIgnored($tagName)
{
if (isset($this->settings['reflection']['ignoredTags'][$tagName]) && $this->settings['reflection']['ignoredTags'][$tagName] === true) {
return true;
}
// Make this setting backwards compatible with old array schema (deprecated since 3.0)
if (in_array($tagName, $this->settings['reflection']['ignoredTags'], true)) {
return true;
}
return false;
}