src/Config/Exception/FileNotFoundException.php
<?php
declare(strict_types=1);
namespace Peak\Config\Exception;
use Peak\Blueprint\Config\ConfigException;
class FileNotFoundException extends \Exception implements ConfigException
{
/**
* @var string
*/
private $configFile;
/**
* FileNotFoundException constructor.
* @param string $configFile
*/
public function __construct(string $configFile)
{
parent::__construct('Config file '.$configFile.' not found');
$this->configFile = $configFile;
}
/**
* @return string
*/
public function getConfigFile(): string
{
return $this->file;
}
}