You are here

public function DeprecatedArray::count in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::count()
  2. 10 core/lib/Drupal/Component/Utility/DeprecatedArray.php \Drupal\Component\Utility\DeprecatedArray::count()

File

core/lib/Drupal/Component/Utility/DeprecatedArray.php, line 89

Class

DeprecatedArray
An array that triggers a deprecation warning when accessed.

Namespace

Drupal\Component\Utility

Code

public function count() {
  @trigger_error($this->message, E_USER_DEPRECATED);
  return parent::count();
}