class InvalidDecoratedMethod

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php \Drupal\Component\Plugin\Exception\InvalidDecoratedMethod
  2. 10 core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php \Drupal\Component\Plugin\Exception\InvalidDecoratedMethod
  3. 11.x core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php \Drupal\Component\Plugin\Exception\InvalidDecoratedMethod

Exception thrown when a decorator's _call() method is triggered, but the decorated object does not contain the requested method.

Hierarchy

Expanded class hierarchy of InvalidDecoratedMethod

File

core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php, line 11

Namespace

Drupal\Component\Plugin\Exception
View source
class InvalidDecoratedMethod extends BadMethodCallException implements ExceptionInterface {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.