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
->orderBy(\DB::raw('-`sortOrder`'), 'desc')->get(); |
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
/** | |
| Upon getting this error on a production environment in which you cant install `npm` to run | |
| `run npm dev` or `run npm production` to compile the assets, you can add this to the `boot()` method of your `AppServiceProvider.php` | |
| to bind a new path to the existing manifest of your application. | |
*/ | |
//... | |
/** |
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 | |
$tree = array( | |
'Parent' => array( | |
'Children 1' => array( | |
'1\'s Child 1', | |
'1\'s Child 2', | |
'1\'s Child 3' | |
), | |
'Children 2' => array( | |
'2\'s Child 1', |