Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24519

SearchResult objects should implement \Countable

    XMLWordPrintable

    Details

      Description

      eZ\Publish\API\Repository\Values\Content\Search\SearchResult should implement \Countable to clean up the API. Counting the search results using the native PHP function count() is a lot cleaner than depending on a public property.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomaslarsson Thomas Maurstad Larsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: