You are here

function hackedFileIgnoreEndingsHasher::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/hackedFileIgnoreEndingsHasher.php, line 25

Class

hackedFileIgnoreEndingsHasher
Class hackedFileIgnoreEndingsHasher @package Drupal\hacked

Namespace

Drupal\hacked

Code

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