Completed
Push — master ( 500137...fb248f )
by Sebastian
03:50
created

VisualArtwork::artEdition()   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
 * A work of art that is primarily visual in character.
7
 *
8
 * @see http://schema.org/VisualArtwork
9
 */
10
class VisualArtwork extends CreativeWork
11
{
12
    /**
13
     * e.g. Painting, Drawing, Sculpture, Print, Photograph, Assemblage,
14
     * Collage, etc.
15
     *
16
     * @param string $artform
17
     *
18
     * @return static
19
     *
20
     * @see http://schema.org/artform
21
     */
22
    public function artform($artform)
23
    {
24
        return $this->setProperty('artform', $artform);
25
    }
26
27
    /**
28
     * The material used. (e.g. Oil, Watercolour, Acrylic, Linoprint, Marble,
29
     * Cyanotype, Digital, Lithograph, DryPoint, Intaglio, Pastel, Woodcut,
30
     * Pencil, Mixed Media, etc.)
31
     *
32
     * @param string $artMedium
33
     *
34
     * @return static
35
     *
36
     * @see http://schema.org/artMedium
37
     */
38
    public function artMedium($artMedium)
39
    {
40
        return $this->setProperty('artMedium', $artMedium);
41
    }
42
43
    /**
44
     * A material used as a surface in some artwork, e.g. Canvas, Paper, Wood,
45
     * Board, etc.
46
     *
47
     * @param string $surface
48
     *
49
     * @return static
50
     *
51
     * @see http://schema.org/surface
52
     */
53
    public function surface($surface)
54
    {
55
        return $this->setProperty('surface', $surface);
56
    }
57
58
    /**
59
     * The supporting materials for the artwork, e.g. Canvas, Paper, Wood,
60
     * Board, etc.
61
     *
62
     * @param string $artworkSurface
63
     *
64
     * @return static
65
     *
66
     * @see http://schema.org/artworkSurface
67
     */
68
    public function artworkSurface($artworkSurface)
69
    {
70
        return $this->setProperty('artworkSurface', $artworkSurface);
71
    }
72
73
    /**
74
     * The number of copies when multiple copies of a piece of artwork are
75
     * produced - e.g. for a limited edition of 20 prints, 'artEdition' refers
76
     * to the total number of copies (in this example "20").
77
     *
78
     * @param int $artEdition
79
     *
80
     * @return static
81
     *
82
     * @see http://schema.org/artEdition
83
     */
84
    public function artEdition($artEdition)
85
    {
86
        return $this->setProperty('artEdition', $artEdition);
87
    }
88
89
}
90