initial commit
This commit is contained in:
17
src/SearchableContract.php
Normal file
17
src/SearchableContract.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Element\Search;
|
||||
|
||||
interface SearchableContract {
|
||||
|
||||
/**
|
||||
* Returns an array of the names of the model's
|
||||
* database columns that should be searched.
|
||||
* The columns should be of type STRING
|
||||
* or TEXT only.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function getSearchable();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user