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

HowToSupply   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A estimatedCost() 0 4 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * A supply consumed when performing the instructions for how to achieve a
7
 * result.
8
 *
9
 * @see http://schema.org/HowToSupply
10
 */
11
class HowToSupply extends HowToItem
12
{
13
    /**
14
     * The estimated cost of the supply or supplies consumed when performing
15
     * instructions.
16
     *
17
     * @param MonetaryAmount|MonetaryAmount[]|string|string[] $estimatedCost
18
     *
19
     * @return static
20
     *
21
     * @see http://schema.org/estimatedCost
22
     */
23
    public function estimatedCost($estimatedCost)
24
    {
25
        return $this->setProperty('estimatedCost', $estimatedCost);
26
    }
27
28
}
29