class EmptyFileException
@internal
Hierarchy
- class \SlevomatCodingStandard\Helpers\EmptyFileException extends \Exception
Expanded class hierarchy of EmptyFileException
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ EmptyFileException.php, line 12
Namespace
SlevomatCodingStandard\HelpersView source
class EmptyFileException extends Exception {
/** @var string */
private $filename;
public function __construct(string $filename, ?Throwable $previous = null) {
parent::__construct(sprintf('File %s is empty', $filename), 0, $previous);
$this->filename = $filename;
}
public function getFilename() : string {
return $this->filename;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
EmptyFileException::$filename | private | property | @var string |
EmptyFileException::getFilename | public | function | |
EmptyFileException::__construct | public | function |