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

Breadcrumb

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

function File::abbreviateMethodName

2 calls to File::abbreviateMethodName()
File::renderBranchStructure in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php
File::renderPathStructure in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php

File

vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php, line 1077

Class

File
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Report\Html

Code

private function abbreviateMethodName(string $methodName) : string {
    $parts = explode('->', $methodName);
    if (count($parts) === 2) {
        return $this->abbreviateClassName($parts[0]) . '->' . $parts[1];
    }
    return $methodName;
}

API Navigation

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