Completed
Push — develop ( 707223...1b2298 )
by Ben
01:50
created

Biasing   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getBringToTop() 0 4 1
A setBringToTop() 0 5 1
1
<?php
2
3
namespace GroupByInc\API\Model;
4
5
class Biasing
6
{
7
    /**
8
     * @var string[]
9
     */
10
    public $bringToTop = array();
11
12
    /**
13
     * @return string[] The list of product IDs
14
     */
15
    public function getBringToTop()
16
    {
17
        return $this->bringToTop;
18
    }
19
20
    /**
21
     * A list of product IDs to bring to the top of the result set. This list
22
     * will ensure that the products are included in the result set and appear in the order
23
     * defined.
24
     *
25
     * @param string[] $bringToTop The list of productIds.
26
     *
27
     * @return Biasing
28
     */
29
    public function setBringToTop($bringToTop)
30
    {
31
        $this->bringToTop = $bringToTop;
32
        return $this;
33
    }
34
}