private function determineCode($code, SplFileInfo $file, $suffix)
{
if (null !== $code) {
return $code;
}
$candidateFile = new SplFileInfo($file->getPathname() . $suffix, '', '');
if ($candidateFile->isFile()) {
return $candidateFile->getContents();
}
}