# give/4.18.0/src/API/REST/V3/Routes/Campaigns/ValueObjects/CampaignRoute.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 23 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/API/REST/V3/Routes/Campaigns/ValueObjects/CampaignRoute.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/API/REST/V3/Routes/Campaigns/ValueObjects/CampaignRoute.php
- Modified: 2025-05-01T11:56:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/API/REST/V3/Routes/Campaigns/ValueObjects/CampaignRoute.php#L10-L20`.

```php
<?php

namespace Give\API\REST\V3\Routes\Campaigns\ValueObjects;

use Give\Framework\Support\ValueObjects\Enum;

/**
 * @since 4.0.0
 *
 * @method static CampaignRoute NAMESPACE()
 * @method static CampaignRoute CAMPAIGN()
 * @method static CampaignRoute CAMPAIGNS()
 * @method bool isNamespace()
 * @method bool isCampaign()
 * @method bool isCampaigns()
 */
class CampaignRoute extends Enum
{
    const NAMESPACE = 'givewp/v3';
    const CAMPAIGN = 'campaigns/(?P<id>[0-9]+)';
    const CAMPAIGNS = 'campaigns';
}

```
