File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments