iter\rewindable\_RewindableGenerator::key PHP Method

key() public method

public key ( )
    public function key()
    {
        if (!$this->generator) {
            $this->rewind();
        }
        return $this->generator->key();
    }