36 lines
615 B
PHP
36 lines
615 B
PHP
<?php
|
|
/**
|
|
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
|
|
* This file is licensed under the Licensed under the MIT license:
|
|
* http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
namespace Icewind\Streams;
|
|
|
|
/**
|
|
* Interface for stream wrappers that implements a directory
|
|
*/
|
|
interface Directory {
|
|
/**
|
|
* @param string $path
|
|
* @param array $options
|
|
* @return bool
|
|
*/
|
|
public function dir_opendir($path, $options);
|
|
|
|
/**
|
|
* @return string|bool
|
|
*/
|
|
public function dir_readdir();
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function dir_closedir();
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function dir_rewinddir();
|
|
}
|