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

Breadcrumb

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

function Annotation::__get

Error handler for unknown property accessor in Annotation class.

Throws

BadMethodCallException

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php, line 34

Class

Annotation
Annotations class.

Namespace

Doctrine\Common\Annotations

Code

public function __get(string $name) {
    throw new BadMethodCallException(sprintf("Unknown property '%s' on annotation '%s'.", $name, static::class));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal