Метод |
Описание |
|
dir_closedir ( ) : boolean |
closes directory |
|
dir_opendir ( string $path, integer $options ) : boolean |
opens a directory |
|
dir_readdir ( ) : string |
reads directory contents |
|
dir_rewinddir ( ) : boolean |
reset directory iteration |
|
getMethodCalls ( string $path ) : array |
returns recorded method calls for given path |
|
mkdir ( string $path, integer $mode, integer $options ) : boolean |
creates a new directory |
|
rename ( string $path_from, string $path_to ) : boolean |
rename from one path to another |
|
rmdir ( string $path, integer $options ) : boolean |
removes a directory |
|
setup ( string $rootDirName = 'root', integer $permissions = null ) : vfsStreamDirectory |
helper method for setting up vfsStream with the proxy |
|
stream_cast ( integer $cast_as ) : boolean |
retrieve the underlaying resource |
|
stream_close ( ) |
closes the stream |
|
stream_eof ( ) : boolean |
checks whether stream is at end of file |
|
stream_flush ( ) : boolean |
flushes unstored data into storage |
|
stream_lock ( integer $operation ) : boolean |
set lock status for stream |
|
stream_open ( string $path, string $mode, string $options, string $opened_path ) : boolean |
open the stream |
|
stream_read ( integer $count ) : string |
read the stream up to $count bytes |
|
stream_seek ( integer $offset, integer $whence ) : boolean |
seeks to the given offset |
|
stream_stat ( ) : array |
returns status of stream |
|
stream_tell ( ) : integer |
returns the current position of the stream |
|
stream_write ( string $data ) : integer |
writes data into the stream |
|
unlink ( string $path ) : boolean |
remove the data under the given path |
|
url_stat ( string $path, integer $flags ) : array |
returns status of url |
|