Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EmptyFileException.php

function EmptyFileException::__construct

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/EmptyFileException.php, line 18

Class

EmptyFileException
@internal

Namespace

SlevomatCodingStandard\Helpers

Code

public function __construct(string $filename, ?Throwable $previous = null) {
    parent::__construct(sprintf('File %s is empty', $filename), 0, $previous);
    $this->filename = $filename;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal