Move shared strings caching strategy into its own component
This will help implementing different caching strategies: - file based - in-memory
This commit is contained in:
1 parent
cf239905d7
commit
2dcb86aae9
6 files changed
+323
-133
No files matched your search
@@ -106,6 +106,19 @@ class GlobalFunctionsHelper
|
||||
return fputcsv($handle, $fields, $delimiter, $enclosure);
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper around global function fwrite()
|
||||
* @see fwrite()
|
||||
*
|
||||
* @param resource $handle
|
||||
* @param string $string
|
||||
* @return int
|
||||
*/
|
||||
public function fwrite($handle, $string)
|
||||
{
|
||||
return fwrite($handle, $string);
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper around global function fclose()
|
||||
* @see fclose()
|
||||
|
||||
Reference in new issue
Block a user