You are here

function hackedFileIncludeEndingsHasher::fetch_lines in Hacked! 8.2

Compute and return the lines of the given file.

Parameters

$filename: A fully-qualified filename to return.

Return value

array|bool The lines of the given filename or FALSE on failure.

Overrides hackedFileHasher::fetch_lines

File

src/hackedFileIncludeEndingsHasher.php, line 13

Class

hackedFileIncludeEndingsHasher
This is a much faster, but potentially less useful file hasher.

Namespace

Drupal\hacked

Code

function fetch_lines($filename) {
  return file($filename);
}