Completed
Push — master ( 91a776...8c22b7 )
by Sebastian
07:46 queued 02:57
created

HowToItem::requiredQuantity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * An item used as either a tool or supply when performing the instructions for
7
 * how to to achieve a result.
8
 *
9
 * @see http://schema.org/HowToItem
10
 */
11
class HowToItem extends ListItem
12
{
13
    /**
14
     * The required quantity of the item(s).
15
     *
16
     * @param QuantitativeValue|QuantitativeValue[]|float|float[]|int|int[]|string|string[] $requiredQuantity
17
     *
18
     * @return static
19
     *
20
     * @see http://schema.org/requiredQuantity
21
     */
22
    public function requiredQuantity($requiredQuantity)
23
    {
24
        return $this->setProperty('requiredQuantity', $requiredQuantity);
25
    }
26
27
}
28