Completed
Pull Request — master (#54)
by Tom
07:40
created

WebSite::issn()   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 WebSite is a set of related web pages and other items typically served from
7
 * a single web domain and accessible via URLs.
8
 *
9
 * @see http://schema.org/WebSite
10
 */
11
class WebSite extends CreativeWork
12
{
13
    /**
14
     * The International Standard Serial Number (ISSN) that identifies this
15
     * serial publication. You can repeat this property to identify different
16
     * formats of, or the linking ISSN (ISSN-L) for, this serial publication.
17
     *
18
     * @param string|string[] $issn
19
     *
20
     * @return static
21
     *
22
     * @see http://schema.org/issn
23
     */
24
    public function issn($issn)
25
    {
26
        return $this->setProperty('issn', $issn);
27
    }
28
29
}
30