|
@@ -20,18 +20,6 @@
|
|
|--------------------------------------------------------------------------
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
*/
|
|
|
|
|
|
-use App\Billing\Stripe;
|
|
|
|
-use App\Providers\AppServiceProvider;
|
|
|
|
-
|
|
|
|
-// Can use either the class name or a readable service name, thanks to aliasing.
|
|
|
|
-$stripe = App::make(AppServiceProvider::STRIPE);
|
|
|
|
-$stripeAgain = app(AppServiceProvider::STRIPE);
|
|
|
|
-
|
|
|
|
-$stripeAlso = resolve(Stripe::class);
|
|
|
|
-$stripeToo = app()->make(Stripe::class);
|
|
|
|
-
|
|
|
|
-dd($stripe, $stripeAgain, $stripeAlso, $stripeToo);
|
|
|
|
-
|
|
|
|
/** @var \Illuminate\Routing\Router $this */
|
|
/** @var \Illuminate\Routing\Router $this */
|
|
$this->get('/', 'PostsController@index')
|
|
$this->get('/', 'PostsController@index')
|
|
->name('home');
|
|
->name('home');
|