silverstripe-fulltextsearch/code/search/SearchIndex_Null.php
2017-04-21 12:23:27 +12:00

24 lines
374 B
PHP

<?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()
{
}
}