FrameCollection
    
            
            in package
            
        
    
            
            implements
                            IteratorAggregate,                             Countable                    
    
    
Exposes a fluent interface for dealing with an ordered list of stack-trace frames.
Table of Contents
Interfaces
- IteratorAggregate
- Countable
Properties
- $frames : array<string|int, array<string|int, mixed>>
Methods
- __construct() : mixed
- count() : int
- countIsApplication() : int
- Count the frames that belongs to the application.
- filter() : FrameCollection
- Filters frames using a callable, returns the same FrameCollection
- getArray() : array<string|int, mixed>
- Returns an array with all frames, does not affect the internal array.
- getIterator() : Traversable
- map() : FrameCollection
- Map the collection of frames
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- prependFrames() : mixed
- serialize() : string
- topDiff() : array<string|int, Frame>
- Gets the innermost part of stack trace that is not the same as that of outer exception
- unserialize() : mixed
Properties
$frames
    private
        array<string|int, array<string|int, mixed>>
    $frames
    
    
    
    
    
Methods
__construct()
    public
                    __construct(array<string|int, mixed> $frames) : mixed
    Parameters
- $frames : array<string|int, mixed>
count()
    public
                    count() : int
    Tags
Return values
intcountIsApplication()
Count the frames that belongs to the application.
    public
                    countIsApplication() : int
    Return values
intfilter()
Filters frames using a callable, returns the same FrameCollection
    public
                    filter(callable $callable) : FrameCollection
    Parameters
- $callable : callable
Return values
FrameCollectiongetArray()
Returns an array with all frames, does not affect the internal array.
    public
                    getArray() : array<string|int, mixed>
    Tags
Return values
array<string|int, mixed>getIterator()
    public
                    getIterator() : Traversable
    Tags
Return values
Traversablemap()
Map the collection of frames
    public
                    map(callable $callable) : FrameCollection
    Parameters
- $callable : callable
Return values
FrameCollectionoffsetExists()
    public
                    offsetExists(int $offset) : bool
    Parameters
- $offset : int
Tags
Return values
booloffsetGet()
    public
                    offsetGet(int $offset) : mixed
    Parameters
- $offset : int
Tags
offsetSet()
    public
                    offsetSet(int $offset, mixed $value) : void
    Parameters
- $offset : int
- $value : mixed
Tags
offsetUnset()
    public
                    offsetUnset(int $offset) : void
    Parameters
- $offset : int
Tags
prependFrames()
    public
                    prependFrames(array<string|int, Frame> $frames) : mixed
    Parameters
- $frames : array<string|int, Frame>
- 
                    Array of Frame instances, usually from $e->getPrevious() 
serialize()
    public
                    serialize() : string
    Tags
Return values
stringtopDiff()
Gets the innermost part of stack trace that is not the same as that of outer exception
    public
                    topDiff(FrameCollection $parentFrames) : array<string|int, Frame>
    Parameters
- $parentFrames : FrameCollection
- 
                    Outer exception frames to compare tail against 
Return values
array<string|int, Frame>unserialize()
    public
                    unserialize(string $serializedFrames) : mixed
    Parameters
- $serializedFrames : string