Custom stream wrapper support

Added support for custom stream wrappers, such as "fly" or "s3".
Support is determined per reader.
This commit is contained in:
Adrien Loison committed 2016-03-18 17:09:13 -07:00
1 parent 0c90d102ef
commit d2ac54c578
10 files changed
+333 -5

No files matched your search

+10
View File
@@ -37,6 +37,16 @@ class Reader extends AbstractReader
return $this;
}
/**
* Returns whether stream wrappers are supported
*
* @return bool
*/
protected function doesSupportStreamWrapper()
{
return false;
}
/**
* Opens the file at the given file path to make it ready to be read.
* It also parses the sharedStrings.xml file to get all the shared strings available in memory