Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassMetadataInterface.php

function ClassMetadataInterface::hasPropertyMetadata

Check if there's any metadata attached to the given named property.

Parameters

string $property The property name:

1 method overrides ClassMetadataInterface::hasPropertyMetadata()
ClassMetadata::hasPropertyMetadata in vendor/symfony/validator/Mapping/ClassMetadata.php
Check if there's any metadata attached to the given named property.

File

vendor/symfony/validator/Mapping/ClassMetadataInterface.php, line 74

Class

ClassMetadataInterface
Stores all metadata needed for validating objects of specific class.

Namespace

Symfony\Component\Validator\Mapping

Code

public function hasPropertyMetadata(string $property) : bool;
RSS feed
Powered by Drupal