This file contains hidden or 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 | |
| /** | |
| * How to include this command on your Laravel project: | |
| * | |
| * 1 - Create your command file with: php artisan make:command ClearSessions | |
| * | |
| * 2 - Copy and paste this code into app\Console\Commands\ClearSessions.php | |
| * | |
| * 3 - Done! Now to clear all session data run: php artisan session:clear |
This file contains hidden or 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; | |
| /** | |
| * Trait RelationshipDefinitions | |
| * | |
| * This trait is intended for use in Eloquent models. | |
| * Provides a method to retrieve an array of Eloquent model relationship names. | |
| * | |
| * @package App\Traits |
This file contains hidden or 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
| [ | |
| "abc", | |
| "ac_unit", | |
| "access_alarm", | |
| "access_alarms", | |
| "access_time", | |
| "access_time_filled", | |
| "accessibility", | |
| "accessibility_new", | |
| "accessible", |