Add IteratorDirectory to create directory handles from iterators and arrays

This commit is contained in:
Robin Appelman 2014-07-31 00:36:48 +02:00
commit 214a31bc98
3 changed files with 258 additions and 0 deletions

View file

@ -13,6 +13,11 @@ namespace Icewind\Streams;
* This wrapper itself doesn't implement any functionality but is just a base class for other wrappers to extend
*/
abstract class Wrapper implements File {
/**
* @var resource
*/
public $context;
/**
* The wrapped stream
*