Created
September 13, 2017 14:19
-
-
Save FrankFlow/0a78da3fc4619024e2ec3132f3908777 to your computer and use it in GitHub Desktop.
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 | |
| $inItaly = collect($hosts)->where('location', 'Itaky'); | |
| if (request('retired')) { | |
| $inItaly = $inItaly->filter(function($employee){ | |
| return ! $employee['is_active']; | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment