DonationAnonymousMode.php
1 year ago
DonationMetaKeys.php
1 year ago
DonationMode.php
1 year ago
DonationNoteMetaKeys.php
3 years ago
DonationNoteType.php
3 years ago
DonationRoute.php
1 year ago
DonationStatus.php
3 years ago
DonationType.php
3 years ago
DonationRoute.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Donations\ValueObjects; |
| 4 | |
| 5 | use Give\Framework\Support\ValueObjects\Enum; |
| 6 | |
| 7 | /** |
| 8 | * @since 4.0.0 |
| 9 | * |
| 10 | * @method static DonationRoute NAMESPACE() |
| 11 | * @method static DonationRoute DONATION() |
| 12 | * @method static DonationRoute DONATIONS() |
| 13 | * @method bool isNamespace() |
| 14 | * @method bool isDonation() |
| 15 | * @method bool isDonations() |
| 16 | */ |
| 17 | class DonationRoute extends Enum |
| 18 | { |
| 19 | const NAMESPACE = 'givewp/v3'; |
| 20 | const DONATION = 'donations/(?P<id>[0-9]+)'; |
| 21 | const DONATIONS = 'donations'; |
| 22 | } |
| 23 |