|
StreamManager
latest
PHP stream manager
|
Inheritance diagram for fpoirotte\StreamManager:Public Member Functions | |
| count () | |
| loop ($iter=0) | |
| loopOnce () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Public Attributes | |
| const | WRAPPER_CLASS = '\\fpoirotte\\StreamManager\\StreamWrapper' |
| const | WRAPPER_NAME = 'streammanager.wrapper' |
Protected Attributes | |
| $hasDispatch | |
| $streams | |
Definition at line 5 of file StreamManager.php.
| fpoirotte\StreamManager::count | ( | ) |
Count elements of an object.
This method is executed when using the count() function on an object implementing the Countable interface.
| int | The custom count as an integer. |
Implements Countable.
Definition at line 25 of file StreamManager.php.
| fpoirotte\StreamManager::offsetExists | ( | $offset | ) |
Whether or not an offset exists.
This method is executed when using isset() or empty() on objects implementing ArrayAccess.
| mixed | $offset | An offset to check for. |
| bool | true is returned when the offset exists, false when it doesn't. |
true. Implements ArrayAccess.
Definition at line 30 of file StreamManager.php.
| fpoirotte\StreamManager::offsetGet | ( | $offset | ) |
Returns the value at specified offset.
This method is executed when checking if offset is empty().
| mixed | $offset | The offset to retrieve. |
| mixed | Value at the specified offset. |
Implements ArrayAccess.
Definition at line 40 of file StreamManager.php.
| fpoirotte\StreamManager::offsetSet | ( | $offset, | |
| $value | |||
| ) |
Assigns a value to the specified offset.
| mixed | $offset | The offset to assign the value to. |
| mixed | $value | The value to set. |
Implements ArrayAccess.
Definition at line 48 of file StreamManager.php.
| fpoirotte\StreamManager::offsetUnset | ( | $offset | ) |
Unsets an offset.
| mixed | $offset | The offset to unset. |
(unset). Implements ArrayAccess.
Definition at line 35 of file StreamManager.php.