Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Cache.php

function Cache::getSize

Retrieves the number of cache entries.

Return value

int

1 call to Cache::getSize()
Runner::run in vendor/squizlabs/php_codesniffer/src/Runner.php
Performs the run.

File

vendor/squizlabs/php_codesniffer/src/Util/Cache.php, line 348

Class

Cache

Namespace

PHP_CodeSniffer\Util

Code

public static function getSize() {
    return count(self::$cache) - 1;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal