Pinq\Collection::clear PHP 메소드

clear() 공개 메소드

public clear ( )
    public function clear()
    {
        if ($this->source !== null) {
            $this->source->removeRange($this->elements);
        } else {
            $this->updateElements($this->scheme->emptyIterator());
        }
    }