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

Blog::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 blog.
7
 *
8
 * @see http://schema.org/Blog
9
 */
10
class Blog extends CreativeWork
11
{
12
    /**
13
     * A posting that is part of this blog.
14
     *
15
     * @param BlogPosting|BlogPosting[] $blogPost
16
     *
17
     * @return static
18
     *
19
     * @see http://schema.org/blogPost
20
     */
21
    public function blogPost($blogPost)
22
    {
23
        return $this->setProperty('blogPost', $blogPost);
24
    }
25
26
    /**
27
     * The postings that are part of this blog.
28
     *
29
     * @param BlogPosting|BlogPosting[] $blogPosts
30
     *
31
     * @return static
32
     *
33
     * @see http://schema.org/blogPosts
34
     */
35
    public function blogPosts($blogPosts)
36
    {
37
        return $this->setProperty('blogPosts', $blogPosts);
38
    }
39
40
    /**
41
     * The International Standard Serial Number (ISSN) that identifies this
42
     * serial publication. You can repeat this property to identify different
43
     * formats of, or the linking ISSN (ISSN-L) for, this serial publication.
44
     *
45
     * @param string|string[] $issn
46
     *
47
     * @return static
48
     *
49
     * @see http://schema.org/issn
50
     */
51
    public function issn($issn)
52
    {
53
        return $this->setProperty('issn', $issn);
54
    }
55
56
}
57