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

Breadcrumb

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

function AbstractNode::processPath

1 call to AbstractNode::processPath()
AbstractNode::__construct in vendor/phpunit/php-code-coverage/src/Node/AbstractNode.php

File

vendor/phpunit/php-code-coverage/src/Node/AbstractNode.php, line 236

Class

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

Namespace

SebastianBergmann\CodeCoverage\Node

Code

private function processPath() : void {
    if ($this->parent === null) {
        $this->pathAsArray = [
            $this,
        ];
        $this->pathAsString = $this->name;
        return;
    }
    $this->pathAsArray = $this->parent
        ->pathAsArray();
    $this->pathAsString = $this->parent
        ->pathAsString() . DIRECTORY_SEPARATOR . $this->name;
    $this->pathAsArray[] = $this;
}

API Navigation

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