Newscoop\Search\DefaultIndexClient::setItem PHP Method

setItem() public method

Set item. This method gives the possibility for the indexing client to access extra data in regards to the default indexable content;
public setItem ( Newscoop\Search\DocumentInterface $item )
$item Newscoop\Search\DocumentInterface
    public function setItem(DocumentInterface $item)
    {
        $this->item = $item;
    }