【Laravel】 在 Tinker 中,引用 Repository 模式下的 Service

筆記

$shippingRepository = app()->make(App\Repositories\ShippingRepository::class);
$shippingList = (new ShippingService($shippingRepository))->all();