This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
10
{
11
/**
12
* The path to the individual creator resource.
13
*
14
* @var string
15
*/
16
private $resourceURI;
17
18
/**
19
* The full name of the creator.
20
*
21
* @var string
22
*/
23
private $name;
24
25
/**
26
* The role of the creator in the parent entity.
27
*
28
* @var string
29
*/
30
private $role;
31
32
/**
33
* @return string
34
*/
35
public function getResourceURI()
36
{
37
return $this->resourceURI;
38
}
39
40
/**
41
* @param string $resourceURI
42
*/
43
public function setResourceURI(string $resourceURI)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.