You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
326 B
17 lines
326 B
8 years ago
|
<?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();
|
||
|
|
||
|
}
|