PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 2.19.6
GiveWP – Donation Plugin and Fundraising Platform v2.19.6
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
give / src / Framework / Models / ValueObjects / Relationship.php
Relationship.php
26 lines 542 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\Framework\Models\ValueObjects;
4
5 use Give\Framework\Support\ValueObjects\Enum;
6
7 /**
8 * Model Relationships
9 *
10 * @since 2.19.6
11 *
12 * @method static HAS_ONE();
13 * @method static HAS_MANY();
14 * @method static MANY_TO_MANY();
15 * @method static BELONGS_TO();
16 * @method static BELONGS_TO_MANY();
17 */
18 class Relationship extends Enum
19 {
20 const HAS_ONE = 'has-one';
21 const HAS_MANY = 'has-many';
22 const MANY_TO_MANY = 'many-to-many';
23 const BELONGS_TO = 'belongs-to';
24 const BELONGS_TO_MANY = 'belongs-to-many';
25 }
26