Skip to content

Instantly share code, notes, and snippets.

@czemu

czemu/Recipe.php Secret

Created Mar 6, 2020
Embed
What would you like to do?
<?php
namespace App\Nova;
class Recipe extends Resource {
/**
* The columns that should be searched.
*
* @var array
*/
public static $search = [
'id', 'name', 'ingredients', 'preparation_description'
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment