Transactions::getTransactions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response;
4
5
use JMS\Serializer\Annotation as JMS;
6
use Thepixeldeveloper\Mondo\Response\Transactions\Transaction;
7
8
/**
9
 * Class Transaction
10
 *
11
 * @package Thepixeldeveloper\Mondo\Response
12
 */
13
class Transactions
14
{
15
    /**
16
     * Transactions
17
     *
18
     * @var Transaction[]
19
     * @JMS\Type("array<\Thepixeldeveloper\Mondo\Response\Transactions\Transaction>")
20
     */
21
    protected $transactions = [];
22
23
    /**
24
     * @return Transactions\Transaction[]
25
     */
26
    public function getTransactions()
27
    {
28
        return $this->transactions;
29
    }
30
}
31