silverstripe-fulltextsearch/code/search/SearchIndex_Null.php

24 lines
374 B
PHP
Raw Normal View History

2017-04-21 02:23:27 +02:00
<?php
namespace SilverStripe\FullTextSearch\Search;
use SilverStripe\FullTextSearch\Search\SearchIndex;
/**
* A search index that does nothing. Useful for testing
*/
abstract class SearchIndex_Null extends SearchIndex
{
public function add($object)
{
}
public function delete($base, $id, $state)
{
}
public function commit()
{
}
}