BackwardsCompatibleEventTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPlaceId() 0 4 1
1
<?php
2
3
namespace CultuurNet\UDB3\Place\Events;
4
5
/**
6
 * @method string getItemId()
7
 */
8
trait BackwardsCompatibleEventTrait
9
{
10
    /**
11
     * @deprecated
12
     *   Should not be used in new code, only serves to maintain backwards-
13
     *   compatibility in older code.
14
     *
15
     * @return string
16
     */
17
    public function getPlaceId()
18
    {
19
        return $this->getItemId();
20
    }
21
}
22