Completed
Push — master ( 70be8d...b5e6ba )
by Jan
05:24
created

PublicKeyFileException::getPublicKeyFile()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types = 1);
2
3
namespace SlevomatEET\Cryptography;
4
5
use Exception;
6
use Throwable;
7
8
abstract class PublicKeyFileException extends Exception
9
{
10
11
	/** @var string */
12
	private $publicKeyFile;
13
14
	public function __construct(string $message, string $publicKeyFile, ?Throwable $previous = null)
15
	{
16
		parent::__construct($message, 0, $previous);
17
18
		$this->publicKeyFile = $publicKeyFile;
19
	}
20
21
	public function getPublicKeyFile(): string
22
	{
23
		return $this->publicKeyFile;
24
	}
25
26
}
27