silverstripe-fulltextsearch/code/search/indexes/SearchIndex_Null.php
2017-04-26 23:06:30 +12:00

22 lines
329 B
PHP

<?php
namespace SilverStripe\FullTextSearch\Search\Indexes;
/**
* 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()
{
}
}