StreamManager  latest
PHP stream manager
fpoirotte\StreamManager\StreamWrapper Class Reference
+ Inheritance diagram for fpoirotte\StreamManager\StreamWrapper:

Public Member Functions

 count ()
 
 sendOutput ()
 
 stream_close ()
 
 stream_eof ()
 
 stream_flush ()
 
 stream_lock ($operation)
 
 stream_open ($path, $mode, $options, &$opened_path)
 
 stream_read ($count)
 
 stream_seek ($offset, $whence=SEEK_SET)
 
 stream_set_option ($option, $arg1, $arg2)
 
 stream_stat ()
 
 stream_tell ()
 
 stream_truncate ($new_size)
 
 stream_write ($data)
 

Public Attributes

 $context
 

Static Protected Member Functions

static isStream ($value)
 

Protected Attributes

 $filteredStream
 
 $outputBuffer = ''
 
 $rawStream
 

Detailed Description

Definition at line 8 of file StreamWrapper.php.

Member Function Documentation

fpoirotte\StreamManager\StreamWrapper::count ( )

Count elements of an object.

This method is executed when using the count() function on an object implementing the Countable interface.

Return values
intThe custom count as an integer.
See also
http://php.net/countable.count.php

Implements Countable.

Definition at line 57 of file StreamWrapper.php.


The documentation for this class was generated from the following file: