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

src/PublicationIssue.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * A part of a successively published publication such as a periodical or
7
 * publication volume, often numbered, usually containing a grouping of works
8
 * such as articles.
9
 * 
10
 * [blog
11
 * post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html).
12
 *
13
 * @see http://schema.org/PublicationIssue
14
 */
15 View Code Duplication
class PublicationIssue extends CreativeWork
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
16
{
17
    /**
18
     * Identifies the issue of publication; for example, "iii" or "2".
19
     *
20
     * @param int|int[]|string|string[] $issueNumber
21
     *
22
     * @return static
23
     *
24
     * @see http://schema.org/issueNumber
25
     */
26
    public function issueNumber($issueNumber)
27
    {
28
        return $this->setProperty('issueNumber', $issueNumber);
29
    }
30
31
    /**
32
     * The page on which the work ends; for example "138" or "xvi".
33
     *
34
     * @param int|int[]|string|string[] $pageEnd
35
     *
36
     * @return static
37
     *
38
     * @see http://schema.org/pageEnd
39
     */
40
    public function pageEnd($pageEnd)
41
    {
42
        return $this->setProperty('pageEnd', $pageEnd);
43
    }
44
45
    /**
46
     * The page on which the work starts; for example "135" or "xiii".
47
     *
48
     * @param int|int[]|string|string[] $pageStart
49
     *
50
     * @return static
51
     *
52
     * @see http://schema.org/pageStart
53
     */
54
    public function pageStart($pageStart)
55
    {
56
        return $this->setProperty('pageStart', $pageStart);
57
    }
58
59
    /**
60
     * Any description of pages that is not separated into pageStart and
61
     * pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49".
62
     *
63
     * @param string|string[] $pagination
64
     *
65
     * @return static
66
     *
67
     * @see http://schema.org/pagination
68
     */
69
    public function pagination($pagination)
70
    {
71
        return $this->setProperty('pagination', $pagination);
72
    }
73
74
}
75