src/Collector.php
public function scanItem($item, $fields)
    {
        $fields = (array) $fields;
        $this->collectIdsFromItem($item, $fields);

        return $this;
    }
public function scanItem($item, $fields)
    {
        $fields = (array) $fields;
        $this->collectIdsFromItem($item, $fields);

        return $this;
    }
public function scanItem ( $ item , $ fields ) { $ fields = ( array ) $ fields ; $ this -> collectIdsFromItem ( $ item , $ fields ) ; return $ this ; }
Add an item source.

@param $item
@param mixed $fields
@return $this
Add an item source .