source/Listing/Listing.php
public function setSelector(PaginatorAwareInterface $selector)
    {
        $this->validateSelector($selector);
        $this->selector = $selector;

        return $this;
    }
public function setSelector(PaginatorAwareInterface $selector)
    {
        $this->validateSelector($selector);
        $this->selector = $selector;

        return $this;
    }
public function setSelector ( PaginatorAwareInterface $ selector ) { $ this -> validateSelector ( $ selector ) ; $ this -> selector = $ selector ; return $ this ; }
Set active listing selector.

@param RecordSelector|DocumentSelector|PaginatorAwareInterface $selector

@return $this

@throws InvalidSelectorException
Set active listing selector .