%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/vendor/ezimuel/ringphp/src/Future/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/vendor/ezimuel/ringphp/src/Future/FutureArray.php

<?php
namespace GuzzleHttp\Ring\Future;

/**
 * Represents a future array value that when dereferenced returns an array.
 */
class FutureArray implements FutureArrayInterface
{
    use MagicFutureTrait;

    #[\ReturnTypeWillChange]
    public function offsetExists($offset)
    {
        return isset($this->_value[$offset]);
    }

    #[\ReturnTypeWillChange]
    public function offsetGet($offset)
    {
        return $this->_value[$offset];
    }

    #[\ReturnTypeWillChange]
    public function offsetSet($offset, $value)
    {
        $this->_value[$offset] = $value;
    }

    #[\ReturnTypeWillChange]
    public function offsetUnset($offset)
    {
        unset($this->_value[$offset]);
    }

    #[\ReturnTypeWillChange]
    public function count()
    {
        return count($this->_value);
    }

    #[\ReturnTypeWillChange]
    public function getIterator()
    {
        return new \ArrayIterator($this->_value);
    }
}

Zerion Mini Shell 1.0