Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 534 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\commerce\models\subscriptions;
use craft\commerce\base\Plan;
use craft\commerce\base\PlanInterface;
/**
* Class DummyPlan
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 2.0
*/
class DummyPlan extends Plan
{
/**
* @inheritdoc
*/
public function canSwitchFrom(PlanInterface $currentPlant): bool
{
return true;
}
}
You can’t perform that action at this time.