silverstripe-fulltextsearch/src/Search/Indexes/SearchIndex_Null.php

22 lines
329 B
PHP
Raw Normal View History

2017-04-21 02:23:27 +02:00
<?php
namespace SilverStripe\FullTextSearch\Search\Indexes;
2017-04-21 02:23:27 +02:00
/**
* 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()
{
}
}