This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.idea | |
/.vscode | |
/.vs | |
/node_modules | |
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Functions | |
if (!function_exists('decodeNovaFilter')) { | |
/** | |
* Decode the filter string from base64 encoding. | |
* | |
* @param string $filtersRequestString | |
* @return array | |
*/ | |
function decodeNovaFilter(string $filtersRequestString): array | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The column by which to sort as default | |
* | |
* @var string | |
*/ | |
public static string $defaultSort = ''; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Traits\Nova; | |
use Illuminate\Database\Eloquent\Builder; | |
use Laravel\Nova\Http\Controllers\AttachableController; | |
use Laravel\Nova\Http\Requests\NovaRequest; | |
trait NoDuplicateRelations | |
{ |
NewerOlder