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

Breadcrumb

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

function Method::setLines

File

vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php, line 33

Class

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

Namespace

SebastianBergmann\CodeCoverage\Report\Xml

Code

public function setLines(string $start, ?string $end = null) : void {
    $this->contextNode
        ->setAttribute('start', $start);
    if ($end !== null) {
        $this->contextNode
            ->setAttribute('end', $end);
    }
}
RSS feed
Powered by Drupal