$31 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/plugins/give/src/Donors/ValueObjects/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/Donors/ValueObjects//DonorType.php
<?php

namespace Give\Donors\ValueObjects;

use Give\Framework\Support\ValueObjects\Enum;

/**
 * @since 4.10.0 Updated labels
 * @since 2.19.6
 *
 * @method static DonorType NEW()
 * @method static DonorType SUBSCRIBER()
 * @method static DonorType REPEAT()
 * @method static DonorType SINGLE()
 * @method bool isNew()
 * @method bool isSubscriber()
 * @method bool isRepeat()
 * @method bool isSingle()
 */
class DonorType extends Enum
{
    const NEW = 'new';
    const SUBSCRIBER = 'subscriber';
    const REPEAT = 'repeat';
    const SINGLE = 'single';

    /**
     * @return array
     */
    public static function labels(): array
    {
        return [
            self::NEW => __( 'No Donations', 'give' ),
            self::SUBSCRIBER => __( 'Subscriber', 'give' ),
            self::REPEAT => __( 'Repeat donor', 'give' ),
            self::SINGLE => __( 'One-time', 'give' ),
        ];
    }

    /**
     * @return string
     */
    public function label(): string
    {
        return self::labels()[ $this->getValue() ];
    }
}


Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
DonorAddress.php
2.129 KB
18 Jun 2025 7.01 PM
bravetechrwanda / bravetechrwanda
0644
DonorMetaKeys.php
2.527 KB
18 Jun 2025 7.01 PM
bravetechrwanda / bravetechrwanda
0644
DonorNoteMetaKeys.php
0.359 KB
18 Jun 2025 7.01 PM
bravetechrwanda / bravetechrwanda
0644
DonorNoteType.php
0.358 KB
18 Jun 2025 7.01 PM
bravetechrwanda / bravetechrwanda
0644
DonorType.php
1.022 KB
1 Oct 2025 3.37 PM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF