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

Breadcrumb

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

function DiffElem::__construct

Same name in this branch
  1. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php \PhpParser\Internal\DiffElem::__construct()

*

Parameters

self::TYPE_* $type: * @param mixed $old Is null for add operations * @param mixed $new Is null for remove operations

File

vendor/phpstan/phpdoc-parser/src/Printer/DiffElem.php, line 37

Class

DiffElem
Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd49…

Namespace

PHPStan\PhpDocParser\Printer

Code

public function __construct(int $type, $old, $new) {
    $this->type = $type;
    $this->old = $old;
    $this->new = $new;
}

API Navigation

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