classes/interfaces don't show methods inherited from PHP built-in classes/interfaces

Created on 30 September 2019, almost 6 years ago
Updated 4 June 2025, 28 days ago

For example, look at https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

We have:

interface EntityConstraintViolationListInterface extends ConstraintViolationListInterface {

and in Symfony at https://api.drupal.org/api/drupal/vendor%21symfony%21validator%21Constra... we have:

interface ConstraintViolationListInterface extends \Traversable, \Countable, \ArrayAccess

Yet the count() method isn't showing in the list of methods for either interface.

This could be some sort of parsing glitch, as the page for the Symfony interface says:

interface \Symfony\Component\Validator\ConstraintViolationListInterface extends \Symfony\Component\Validator\Traversable

Has the parser maybe picked up the wrong Traversable interface?

🐛 Bug report
Status

Postponed

Version

2.0

Component

Parser

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024