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

WebSite   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A issn() 0 4 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