| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\DonationForms\ValueObjects; |
| 4 |
|
| 5 |
use Give\Framework\Support\ValueObjects\Enum; |
| 6 |
|
| 7 |
/** |
| 8 |
* @since 4.2.0 |
| 9 |
* |
| 10 |
* @method static DonationFormsRoute NAMESPACE() |
| 11 |
* @method static DonationFormsRoute FORM() |
| 12 |
* @method static DonationFormsRoute FORMS() |
| 13 |
* @method static DonationFormsRoute ASSOCIATE_FORMS_WITH_CAMPAIGN() |
| 14 |
* @method bool isNamespace() |
| 15 |
* @method bool isForm() |
| 16 |
* @method bool isForms() |
| 17 |
* @method bool isAssociateFormsWithCampaign() |
| 18 |
*/ |
| 19 |
class DonationFormsRoute extends Enum |
| 20 |
{ |
| 21 |
const NAMESPACE = 'givewp/v3'; |
| 22 |
const FORM = 'forms/(?P<id>[0-9]+)'; |
| 23 |
const FORMS = 'forms'; |
| 24 |
const ASSOCIATE_FORMS_WITH_CAMPAIGN = 'associate-forms-with-campaign'; |
| 25 |
} |
| 26 |
|