public function ResourceIdentifier::hasArity in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifier::hasArity()
- 9 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifier::hasArity()
Whether this ResourceIdentifier has an arity.
Return value
int TRUE if the ResourceIdentifier has an arity, FALSE otherwise.
File
- core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceIdentifier.php, line 129
Class
- ResourceIdentifier
- Represents a JSON:API resource identifier object.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function hasArity() {
return isset($this->meta[static::ARITY_KEY]);
}