nspl\ds\Set::offsetGet PHP Метод

offsetGet() публичный Метод

(PHP 5 >= 5.0.0)
Offset to retrieve
public offsetGet ( integer $index ) : mixed
$index integer

The offset to retrieve.

Результат mixed Can return all value types.
    public function &offsetGet($index)
    {
        throw new \BadMethodCallException('Set does not support indexing');
    }