Completed
Push — master ( 7d378c...9da044 )
by Sergey
03:36 queued 01:11
created

EntityProvider::getEntityIdName()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 1
f 0
cc 2
eloc 2
nc 2
nop 0
1
<?php
2
3
namespace seregazhuk\PinterestBot\Api\Providers;
4
5
class EntityProvider extends Provider
6
{
7
    /**
8
     * @return string
9
     */
10
    public function getEntityIdName()
11
    {
12
        return property_exists($this, 'entityIdName') ? $this->entityIdName : '';
13
    }
14
}