ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
IteratorAggregateStub Class Reference

This class is used in tests for the length filter. More...

+ Inheritance diagram for IteratorAggregateStub:
+ Collaboration diagram for IteratorAggregateStub:

Public Member Functions

 __construct (array $data)
 
 getIterator ()
 

Private Attributes

 $data
 

Detailed Description

This class is used in tests for the length filter.

Definition at line 314 of file IntegrationTest.php.

Constructor & Destructor Documentation

◆ __construct()

IteratorAggregateStub::__construct ( array  $data)

Definition at line 318 of file IntegrationTest.php.

References $data, and data.

319  {
320  $this->data = $data;
321  }
$this data['403_header']

Member Function Documentation

◆ getIterator()

IteratorAggregateStub::getIterator ( )

Definition at line 323 of file IntegrationTest.php.

References data.

324  {
325  return new ArrayIterator($this->data);
326  }
$this data['403_header']

Field Documentation

◆ $data

IteratorAggregateStub::$data
private

Definition at line 316 of file IntegrationTest.php.


The documentation for this class was generated from the following file: