UserOAuth   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 2
c 2
b 0
f 1
lcom 0
cbo 1
dl 0
loc 23
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getProfilePicture() 0 4 1
A setProfilePicture() 0 4 1
1
<?php
2
3
namespace DoS\UserBundle\Model;
4
5
use Sylius\Component\User\Model\UserOAuth as BaseUserOAuth;
6
7
/**
8
 * User OAuth model.
9
 */
10
class UserOAuth extends BaseUserOAuth implements UserOAuthInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    protected $profilePicture;
16
17
    /**
18
     * @return string
19
     */
20
    public function getProfilePicture()
21
    {
22
        return $this->profilePicture;
23
    }
24
25
    /**
26
     * @param string $profilePicture
27
     */
28
    public function setProfilePicture($profilePicture)
29
    {
30
        $this->profilePicture = $profilePicture;
31
    }
32
}
33