InvalidDecoratedMethod.php

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

Namespace

Drupal\Component\Plugin\Exception

File

core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php

View source
<?php

namespace Drupal\Component\Plugin\Exception;

use BadMethodCallException;

/**
 * Exception thrown when a decorator's _call() method is triggered, but the
 * decorated object does not contain the requested method.
 */
class InvalidDecoratedMethod extends BadMethodCallException implements ExceptionInterface {

}

Classes

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

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