ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Exposes a fluent interface for dealing with an ordered list of stack-trace frames. More...
Public Member Functions | |
__construct (array $frames) | |
filter ($callable) | |
Filters frames using a callable, returns the same FrameCollection. More... | |
map ($callable) | |
Map the collection of frames. More... | |
getArray () | |
Returns an array with all frames, does not affect the internal array. More... | |
getIterator () | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
count () | |
countIsApplication () | |
Count the frames that belongs to the application. More... | |
serialize () | |
unserialize ($serializedFrames) | |
prependFrames (array $frames) | |
Private Attributes | |
$frames | |
Exposes a fluent interface for dealing with an ordered list of stack-trace frames.
Definition at line 20 of file FrameCollection.php.
Whoops\Exception\FrameCollection::__construct | ( | array | $frames | ) |
array | $frames |
Definition at line 30 of file FrameCollection.php.
References Whoops\Exception\FrameCollection\$frames.
Whoops\Exception\FrameCollection::count | ( | ) |
Definition at line 137 of file FrameCollection.php.
Referenced by Whoops\Exception\FrameCollection\countIsApplication(), and Whoops\Exception\FrameCollection\prependFrames().
Whoops\Exception\FrameCollection::countIsApplication | ( | ) |
Count the frames that belongs to the application.
Definition at line 147 of file FrameCollection.php.
References Whoops\Exception\FrameCollection\count(), and Whoops\Exception\Frame\isApplication().
Whoops\Exception\FrameCollection::filter | ( | $callable | ) |
Filters frames using a callable, returns the same FrameCollection.
callable | $callable |
Definition at line 43 of file FrameCollection.php.
Whoops\Exception\FrameCollection::getArray | ( | ) |
Returns an array with all frames, does not affect the internal array.
Definition at line 83 of file FrameCollection.php.
References Whoops\Exception\FrameCollection\$frames.
Referenced by Whoops\Exception\FrameCollection\prependFrames().
Whoops\Exception\FrameCollection::getIterator | ( | ) |
Definition at line 92 of file FrameCollection.php.
Whoops\Exception\FrameCollection::map | ( | $callable | ) |
Map the collection of frames.
callable | $callable |
Definition at line 55 of file FrameCollection.php.
References Whoops\Exception\FrameCollection\$frames.
Whoops\Exception\FrameCollection::offsetExists | ( | $offset | ) |
int | $offset |
Definition at line 101 of file FrameCollection.php.
Whoops\Exception\FrameCollection::offsetGet | ( | $offset | ) |
int | $offset |
Definition at line 110 of file FrameCollection.php.
Whoops\Exception\FrameCollection::offsetSet | ( | $offset, | |
$value | |||
) |
int | $offset |
Definition at line 119 of file FrameCollection.php.
Whoops\Exception\FrameCollection::offsetUnset | ( | $offset | ) |
int | $offset |
Definition at line 128 of file FrameCollection.php.
Whoops\Exception\FrameCollection::prependFrames | ( | array | $frames | ) |
Frame[] | $frames Array of Frame instances, usually from $e->getPrevious() |
Definition at line 175 of file FrameCollection.php.
References Whoops\Exception\FrameCollection\$frames, $i, Whoops\Exception\FrameCollection\count(), and Whoops\Exception\FrameCollection\getArray().
Whoops\Exception\FrameCollection::serialize | ( | ) |
Whoops\Exception\FrameCollection::unserialize | ( | $serializedFrames | ) |
string | $serializedFrames |
Definition at line 167 of file FrameCollection.php.
|
private |
Definition at line 25 of file FrameCollection.php.
Referenced by Whoops\Exception\FrameCollection\__construct(), Whoops\Exception\FrameCollection\getArray(), Whoops\Exception\FrameCollection\map(), and Whoops\Exception\FrameCollection\prependFrames().