<?php
declare(strict_types=1);
namespace League\CommonMark\Node\Inline;
final class Newline extends AbstractInline
{
public const HARDBREAK = 0;
public const SOFTBREAK = 1;
private int $type;
public function __construct(int $breakType = self::HARDBREAK)
{
parent::__construct();
$this->type = $breakType;
}
public function getType(): int
{
return $this->type;
}
}