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

Author: N.V.
Inheritance: implements ArrayAcces\ArrayAccess, implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate
Show file Open project: scalr/scalr

Protected Properties

Property Type Description
$filters array ..]

Public Methods

Method Description
__construct ( array $filters = [] ) FilterRule
__get ( mixed $name ) : mixed Magic getter
__set ( mixed $name, mixed $value ) Magic setter
__toString ( ) : string Gets string representation of object for comparison purposes
count ( )
getFilters ( ) : array Gets filters
getIterator ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )

Method Details

__construct() public method

FilterRule
public __construct ( array $filters = [] )
$filters array optional Key-value array like [filter_name => filter_value, ...]

__get() public method

Magic getter
public __get ( mixed $name ) : mixed
$name mixed Filter name
return mixed Returns filter value

__set() public method

Magic setter
public __set ( mixed $name, mixed $value )
$name mixed Filter name
$value mixed Filter value

__toString() public method

Gets string representation of object for comparison purposes
public __toString ( ) : string
return string

count() public method

See also: Countable::count()
public count ( )

getFilters() public method

Gets filters
public getFilters ( ) : array
return array Array of filters like [filter_name => filter_value, ...]

getIterator() public method

See also: IteratorAggregate::getIterator()
public getIterator ( )

offsetExists() public method

See also: ArrayAccess::offsetExists()
public offsetExists ( $offset )

offsetGet() public method

See also: ArrayAccess::offsetGet()
public offsetGet ( $offset )

offsetSet() public method

See also: ArrayAccess::offsetSet()
public offsetSet ( $offset, $value )

offsetUnset() public method

See also: ArrayAccess::offsetUnset()
public offsetUnset ( $offset )

Property Details

$filters protected property

..]
protected array $filters
return array