Skip to content

Commit b0725fb

Browse files
committed
Merge branch 'feature/167' into 2.1
2 parents 9d2e42b + 84cf950 commit b0725fb

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

lib/Tmdb/Model/Person.php

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ class Person extends AbstractModel implements PersonInterface
7979
*/
8080
private $profileImage;
8181

82+
/**
83+
* @var float
84+
*/
85+
private $popularity;
86+
8287
/**
8388
* @var Common\GenericCollection
8489
*/
@@ -134,7 +139,8 @@ class Person extends AbstractModel implements PersonInterface
134139
'name',
135140
'place_of_birth',
136141
'profile_path',
137-
'gender'
142+
'gender',
143+
'popularity'
138144
];
139145

140146
/**
@@ -557,4 +563,20 @@ public function setGender($gender)
557563
{
558564
$this->gender = (int) $gender;
559565
}
566+
567+
/**
568+
* @return float
569+
*/
570+
public function getPopularity()
571+
{
572+
return $this->popularity;
573+
}
574+
575+
/**
576+
* @param float $popularity
577+
*/
578+
public function setPopularity($popularity)
579+
{
580+
$this->popularity = $popularity;
581+
}
560582
}

0 commit comments

Comments
 (0)