Eloquent\Phony\Stub\Answer\Builder\GeneratorYieldIteration::__construct PHP Method

__construct() public method

Construct a new generator yield iteration.
public __construct ( array $requests, boolean $hasKey, mixed $key, boolean $hasValue, mixed $value )
$requests array
$hasKey boolean True if the key should be yielded.
$key mixed The key.
$hasValue boolean True if the value should be yielded.
$value mixed The value.
    public function __construct(array $requests, $hasKey, $key, $hasValue, $value)
    {
        $this->requests = $requests;
        $this->hasKey = $hasKey;
        $this->key = $key;
        $this->hasValue = $hasValue;
        $this->value = $value;
    }
GeneratorYieldIteration