Laravel\Cashier\SubscriptionBuilder::__construct PHP Method

__construct() public method

Create a new subscription builder instance.
public __construct ( mixed $user, string $name, string $plan ) : void
$user mixed
$name string
$plan string
return void
    public function __construct($user, $name, $plan)
    {
        $this->user = $user;
        $this->name = $name;
        $this->plan = $plan;
    }