RepositoryCollectionIterator
        
        extends Base
    
    
            
            in package
            
        
    
            
            implements
                            Iterator                    
    
    
        
            Helper class for the RepositoryCollection, which converts data to the mode instances when needed.
Interfaces, Classes, Traits and Enums
- Iterator
 
Table of Contents
- $iterator : Iterator
 - $model : string
 - $repository : string|Repository
 - __call() : mixed
 - Report that the $method doesn't exist.
 - __callStatic() : mixed
 - Report that the $method doesn't exist.
 - __construct() : mixed
 - __get() : mixed
 - Report that $property doesn't exist.
 - __set() : mixed
 - Report that $property doesn't exist and set the property to the given $value.
 - __toString() : string
 - The object is used as an string.
 - current() : mixed
 - key() : mixed
 - next() : mixed
 - rewind() : mixed
 - valid() : mixed
 
Properties
$iterator
    private
        Iterator
    $iterator
    
    
    
    
$model
    private
        string
    $model
    
    
    
    
$repository
    private
        string|Repository
    $repository
    
    
    
    
Methods
__call()
Report that the $method doesn't exist.
    public
                __call(string $method, array<string|int, mixed> $arguments) : mixed
    
        Parameters
- $method : string
 - $arguments : array<string|int, mixed>
 
Return values
mixed —__callStatic()
Report that the $method doesn't exist.
    public
            static    __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
    
        Parameters
- $method : string
 - $arguments : array<string|int, mixed>
 
Return values
mixed —__construct()
    public
                __construct(Iterator $iterator, string|Repository $repository, string $model) : mixed
    
        Parameters
- $iterator : Iterator
 - $repository : string|Repository
 - $model : string
 
Return values
mixed —__get()
Report that $property doesn't exist.
    public
                __get(string $property) : mixed
    
        Parameters
- $property : string
 
Return values
mixed —__set()
Report that $property doesn't exist and set the property to the given $value.
    public
                __set(string $property, mixed $value) : mixed
    
        Parameters
- $property : string
 - $value : mixed
 
Return values
mixed —__toString()
The object is used as an string.
    public
                __toString() : string
    
    
    
        Return values
string —current()
    public
                current() : mixed
        
    
    
        Return values
mixed —key()
    public
                key() : mixed
        
    
    
        Return values
mixed —next()
    public
                next() : mixed
        
    
    
        Return values
mixed —rewind()
    public
                rewind() : mixed
        
    
    
        Return values
mixed —valid()
    public
                valid() : mixed