Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResourceIterator
Synopsis
class DirectoryResourceIterator
extends RecursiveIteratorIterator
{
- // Inherited constants from RecursiveIteratorIterator
- const LEAVES_ONLY = 0;
- const SELF_FIRST = 1;
- const CHILD_FIRST = 2;
- const CATCH_GET_CHILD = 16;
- // methods
- public void __construct()
- public void current()
- // Inherited methods from RecursiveIteratorIterator
- public void beginChildren()
- public void beginIteration()
- public RecursiveIterator callGetChildren()
- public bool callHasChildren()
- public void __construct()
- public mixed current()
- public void endChildren()
- public void endIteration()
- public int getDepth()
- public iterator getInnerIterator()
- public mixed getMaxDepth()
- public RecursiveIterator getSubIterator()
- public mixed key()
- public void next()
- public void nextElement()
- public void rewind()
- public void setMaxDepth()
- public bool valid()
- public Iterator getInnerIterator()
Hierarchy
Extends
Constants
Name | Value |
---|---|
LEAVES_ONLY | 0 |
SELF_FIRST | 1 |
CHILD_FIRST | 2 |
CATCH_GET_CHILD | 16 |
Members
protected
- $bundle
- $loader
- $path
Methods
public
- __construct() — Constructor.
- current()
Inherited from RecursiveIteratorIterator
public
- beginChildren() — Begin children
- beginIteration() — Begin Iteration
- callGetChildren() — Get children
- callHasChildren() — Has children
- current() — Access the current element value
- endChildren() — End children
- endIteration() — End Iteration
- getDepth() — Get the current depth of the recursive iteration
- getInnerIterator() — Get inner iterator
- getInnerIterator()
- getMaxDepth() — Get max depth
- getSubIterator() — The current active sub iterator
- key() — Access the current key
- next() — Move forward to the next element
- nextElement() — Next element
- rewind() — Rewind the iterator to the first element of the top level inner iterator
- setMaxDepth() — Set max depth
- valid() — Check whether the current position is valid