CampaignGoalType.php
1 year ago
CampaignPageMetaKeys.php
1 year ago
CampaignPageStatus.php
1 year ago
CampaignRoute.php
1 year ago
CampaignStatus.php
1 year ago
CampaignType.php
1 year ago
CampaignRoute.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Campaigns\ValueObjects; |
| 4 | |
| 5 | use Give\Framework\Support\ValueObjects\Enum; |
| 6 | |
| 7 | /** |
| 8 | * @since 4.0.0 |
| 9 | * |
| 10 | * @method static CampaignRoute NAMESPACE() |
| 11 | * @method static CampaignRoute CAMPAIGN() |
| 12 | * @method static CampaignRoute CAMPAIGNS() |
| 13 | * @method bool isNamespace() |
| 14 | * @method bool isCampaign() |
| 15 | * @method bool isCampaigns() |
| 16 | */ |
| 17 | class CampaignRoute extends Enum |
| 18 | { |
| 19 | const NAMESPACE = 'givewp/v3'; |
| 20 | const CAMPAIGN = 'campaigns/(?P<id>[0-9]+)'; |
| 21 | const CAMPAIGNS = 'campaigns'; |
| 22 | } |
| 23 |