PHP Class Scalr\Tests\Functional\Api\V2\Iterator\ApiDataRecursiveFilterIterator

Since: 5.6.14 (15.12.2015)
Author: Andrii Penchuk ([email protected])
Inheritance: extends RecursiveFilterIterato\RecursiveFilterIterator
Show file Open project: scalr/scalr

Protected Properties

Property Type Description
$notAllowedScope array Rejected scope for each type
$part string Current part of the path
$paths array Array of the parts of the path
$type string Api specifications type

Public Methods

Method Description
__construct ( RecursiveArrayIterator $recursiveIter, array $parts, string $type = null ) ApiDataRecursiveFilterIterator constructor.
accept ( )
getChildren ( )
prepareData ( ) If has not path parts cut or create Api data

Method Details

__construct() public method

ApiDataRecursiveFilterIterator constructor.
public __construct ( RecursiveArrayIterator $recursiveIter, array $parts, string $type = null )
$recursiveIter RecursiveArrayIterator recursive iterator for Api data
$parts array array of the parts of the path
$type string optional api specifications type

accept() public method

See also: RecursiveFilterIterator::accept()
public accept ( )

getChildren() public method

See also: RecursiveFilterIterator::getChildren()
public getChildren ( )

prepareData() public method

If has not path parts cut or create Api data
public prepareData ( )

Property Details

$notAllowedScope protected static property

Rejected scope for each type
protected static array $notAllowedScope
return array

$part protected property

Current part of the path
protected string $part
return string

$paths protected property

Array of the parts of the path
protected array $paths
return array

$type protected property

Api specifications type
protected string $type
return string