123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- use App\Billing\Stripe;
- use App\Providers\AppServiceProvider;
- $stripe = App::make(AppServiceProvider::STRIPE);
- $stripeAgain = app(AppServiceProvider::STRIPE);
- $stripeAlso = resolve(Stripe::class);
- $stripeToo = app()->make(Stripe::class);
- dd($stripe, $stripeAgain, $stripeAlso, $stripeToo);
- $this->get('/', 'PostsController@index')
- ->name('home');
- $this->post('/posts', 'PostsController@store');
- $this->get('/posts/create', 'PostsController@create');
- $this->get('/posts/{post}', 'PostsController@show');
- $this->post('/posts/{post}/comments', 'CommentsController@store');
- $this->get('register', 'RegistrationController@create');
- $this->post('register', 'RegistrationController@store');
- $this->get('login', 'SessionsController@create');
- $this->post('login', 'SessionsController@store');
- $this->get('logout', 'SessionsController@destroy');
|