public function fileSearch($file, $subject)
    {
        return str_contains(file_get_contents(str_contains($file, '/') ? $file : $file), $subject);
    }
public function fileSearch($file, $subject)
    {
        return str_contains(file_get_contents(str_contains($file, '/') ? $file : $file), $subject);
    }
public function fileSearch ( $ file , $ subject ) { return str_contains ( file_get_contents ( str_contains ( $ file , '/' ) ? $ file : $ file ) , $ subject ) ; }
Search for a content within a file
@param  string $file
@param  string $subject
@return boolean
Search for a content within a file