function AttributeLoader::isKnownAttribute
1 call to AttributeLoader::isKnownAttribute()
- AttributeLoader::loadAttributes in vendor/
symfony/ serializer/ Mapping/ Loader/ AttributeLoader.php
File
-
vendor/
symfony/ serializer/ Mapping/ Loader/ AttributeLoader.php, line 214
Class
- AttributeLoader
- Loader for PHP attributes.
Namespace
Symfony\Component\Serializer\Mapping\LoaderCode
private function isKnownAttribute(string $attributeName) : bool {
foreach (self::KNOWN_ATTRIBUTES as $knownAttribute) {
if (is_a($attributeName, $knownAttribute, true)) {
return true;
}
}
return false;
}