Completed
Push — master ( fd0635...f2796c )
by Tom
06:08
created

QuantitativeValueDistribution::percentile75()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * A statistical distribution of values.
7
 *
8
 * @see http://schema.org/QuantitativeValueDistribution
9
 *
10
 * @mixin \Spatie\SchemaOrg\StructuredValue
11
 */
12
class QuantitativeValueDistribution extends BaseType
13
{
14
    /**
15
     * The median value.
16
     *
17
     * @param float|float[]|int|int[] $median
18
     *
19
     * @return static
20
     *
21
     * @see http://schema.org/median
22
     */
23
    public function median($median)
24
    {
25
        return $this->setProperty('median', $median);
26
    }
27
28
    /**
29
     * The 10th percentile value.
30
     *
31
     * @param float|float[]|int|int[] $percentile10
32
     *
33
     * @return static
34
     *
35
     * @see http://schema.org/percentile10
36
     */
37
    public function percentile10($percentile10)
38
    {
39
        return $this->setProperty('percentile10', $percentile10);
40
    }
41
42
    /**
43
     * The 25th percentile value.
44
     *
45
     * @param float|float[]|int|int[] $percentile25
46
     *
47
     * @return static
48
     *
49
     * @see http://schema.org/percentile25
50
     */
51
    public function percentile25($percentile25)
52
    {
53
        return $this->setProperty('percentile25', $percentile25);
54
    }
55
56
    /**
57
     * The 75th percentile value.
58
     *
59
     * @param float|float[]|int|int[] $percentile75
60
     *
61
     * @return static
62
     *
63
     * @see http://schema.org/percentile75
64
     */
65
    public function percentile75($percentile75)
66
    {
67
        return $this->setProperty('percentile75', $percentile75);
68
    }
69
70
    /**
71
     * The 90th percentile value.
72
     *
73
     * @param float|float[]|int|int[] $percentile90
74
     *
75
     * @return static
76
     *
77
     * @see http://schema.org/percentile90
78
     */
79
    public function percentile90($percentile90)
80
    {
81
        return $this->setProperty('percentile90', $percentile90);
82
    }
83
84
}
85