EventTicket   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 35
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Event Ticket Resource
4
 */
5
namespace Twigger\UnionCloud\API\Resource;
6
7
use phpDocumentor\Reflection\DocBlock;
8
use Twigger\UnionCloud\API\Exception\Resource\ResourceNotFoundException;
9
use Twigger\UnionCloud\API\ResourceCollection;
10
11
/**
12
 * Class Event Ticket
13
 *
14
 * @package Twigger\UnionCloud\API\Events\EventTickets
15
 *
16
 */
17
class EventTicket extends BaseResource implements IResource
18
{
19
20
    /**
21
     * Enable casting for this resource
22
     *
23
     * @var array
24
     *
25
     * @see BaseResource::casts
26
     */
27
    protected $casts = [
28
    ];
29
30
    /**
31
     * Enable further casting with multiple attributes
32
     *
33
     * @var array
34
     *
35
     * @see BaseResource::$customCasts
36
     */
37
    protected $customCasts = [
38
    ];
39
40
    /**
41
     * Set the model parameters
42
     *
43
     * Event Ticket constructor.
44
     *
45
     * @throws ResourceNotFoundException
46
     *
47
     * @param $resource
48
     */
49
    public function __construct($resource)
50
    {
51
        parent::__construct($resource);
52
53
    }
54
}