I hereby claim:
- I am golonix on github.
- I am gollum (https://keybase.io/gollum) on keybase.
- I have a public key ASAGThCgo1Iv42CmjrpC4t1IIqkX-gqA9m-NelDUhh7R3wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class SimpleAwesomeCommand extends Command | |
{ | |
/** | |
* @var string |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Helper\Helper; | |
use Symfony\Component\Console\Helper\ProgressBar; | |
class AdvancedAwesomeCommand extends Command | |
{ |
<?php | |
Class AddressController | |
{ | |
public function index(Request $request) | |
{ | |
$user = Auth::user(); | |
$addresses = Address::where("user_id", $user->id)->get(); | |
return (new AddressResponder($request, $addresses))->respond(); |