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');
    }