CapsuleVariable   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPeople() 0 3 1
A getOrganizations() 0 3 1
A getOpportunities() 0 3 1
1
<?php
2
/**
3
 * SaaS Link plugin for Craft CMS 3.x
4
 *
5
 * @link      https://workingconcept.com
6
 * @copyright Copyright (c) 2018 Working Concept Inc.
7
 */
8
9
namespace workingconcept\saaslink\variables;
10
11
use workingconcept\saaslink\SaasLink;
12
13
class CapsuleVariable
14
{
15
16
    public function getOrganizations()
17
    {
18
        return SaasLink::$plugin->capsule->getOrganizations();
19
    }
20
21
    public function getPeople()
22
    {
23
        return SaasLink::$plugin->capsule->getPeople();
24
    }
25
26
    public function getOpportunities()
27
    {
28
        return SaasLink::$plugin->capsule->getOpportunities();
29
    }
30
31
}
32