You are here

public function DeprecationMessage::setLine in Upgrade Status 8.3

Same name and namespace in other branches
  1. 8.2 src/DeprecationMessage.php \Drupal\upgrade_status\DeprecationMessage::setLine()

Sets the line value.

Parameters

int $line: The line associated to the deprecation message.

File

src/DeprecationMessage.php, line 82

Class

DeprecationMessage
A value object containing a deprecation message with some metadata.

Namespace

Drupal\upgrade_status

Code

public function setLine(int $line) {
  $this->line = $line;
}