1 | <?php |
||
8 | class AttributeScore |
||
9 | { |
||
10 | /** |
||
11 | * Instance of Attribute. |
||
12 | * |
||
13 | * @var \Pbmedia\Specifications\Interfaces\Attribute |
||
14 | */ |
||
15 | protected $attribute; |
||
16 | |||
17 | /** |
||
18 | * Instance of Score. |
||
19 | * |
||
20 | * @var \Pbmedia\Specifications\Interfaces\Score |
||
21 | */ |
||
22 | protected $score; |
||
23 | |||
24 | /** |
||
25 | * Create a new AttributeScore instance. |
||
26 | * |
||
27 | * @param \Pbmedia\Specifications\Interfaces\Attribute $attribute |
||
28 | * @param \Pbmedia\Specifications\Interfaces\Score $score |
||
29 | */ |
||
30 | public function __construct(Attribute $attribute, Score $score) |
||
35 | |||
36 | /** |
||
37 | * Get the Attribute object. |
||
38 | * |
||
39 | * @return \Pbmedia\Specifications\Interfaces\Attribute |
||
40 | */ |
||
41 | public function getAttribute(): Attribute |
||
45 | |||
46 | /** |
||
47 | * Get the Score object. |
||
48 | * |
||
49 | * @return \Pbmedia\Specifications\Interfaces\Score |
||
50 | */ |
||
51 | public function getScore(): Score |
||
55 | |||
56 | /** |
||
57 | * Get the value of the Score object. |
||
58 | * |
||
59 | * @return mixed |
||
60 | */ |
||
61 | public function getScoreValue() |
||
65 | } |
||
66 |