17 lines
326 B
PHP
17 lines
326 B
PHP
<?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();
|
|
|
|
} |