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

src/EntryPoint.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
 * An entry point, within some Web-based protocol.
7
 *
8
 * @see http://schema.org/EntryPoint
9
 */
10
class EntryPoint extends Intangible
11
{
12
    /**
13
     * An application that can complete the request.
14
     *
15
     * @param SoftwareApplication|SoftwareApplication[] $actionApplication
16
     *
17
     * @return static
18
     *
19
     * @see http://schema.org/actionApplication
20
     */
21
    public function actionApplication($actionApplication)
22
    {
23
        return $this->setProperty('actionApplication', $actionApplication);
24
    }
25
26
    /**
27
     * The high level platform(s) where the Action can be performed for the
28
     * given URL. To specify a specific application or operating system
29
     * instance, use actionApplication.
30
     *
31
     * @param |[] $actionPlatform
0 ignored issues
show
The doc-type |[] could not be parsed: Unknown type name "|" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
32
     *
33
     * @return static
34
     *
35
     * @see http://schema.org/actionPlatform
36
     */
37
    public function actionPlatform($actionPlatform)
38
    {
39
        return $this->setProperty('actionPlatform', $actionPlatform);
40
    }
41
42
    /**
43
     * An application that can complete the request.
44
     *
45
     * @param SoftwareApplication|SoftwareApplication[] $application
46
     *
47
     * @return static
48
     *
49
     * @see http://schema.org/application
50
     */
51
    public function application($application)
52
    {
53
        return $this->setProperty('application', $application);
54
    }
55
56
    /**
57
     * The supported content type(s) for an EntryPoint response.
58
     *
59
     * @param string|string[] $contentType
60
     *
61
     * @return static
62
     *
63
     * @see http://schema.org/contentType
64
     */
65
    public function contentType($contentType)
66
    {
67
        return $this->setProperty('contentType', $contentType);
68
    }
69
70
    /**
71
     * The supported encoding type(s) for an EntryPoint request.
72
     *
73
     * @param string|string[] $encodingType
74
     *
75
     * @return static
76
     *
77
     * @see http://schema.org/encodingType
78
     */
79
    public function encodingType($encodingType)
80
    {
81
        return $this->setProperty('encodingType', $encodingType);
82
    }
83
84
    /**
85
     * An HTTP method that specifies the appropriate HTTP method for a request
86
     * to an HTTP EntryPoint. Values are capitalized strings as used in HTTP.
87
     *
88
     * @param string|string[] $httpMethod
89
     *
90
     * @return static
91
     *
92
     * @see http://schema.org/httpMethod
93
     */
94
    public function httpMethod($httpMethod)
95
    {
96
        return $this->setProperty('httpMethod', $httpMethod);
97
    }
98
99
    /**
100
     * An url template (RFC6570) that will be used to construct the target of
101
     * the execution of the action.
102
     *
103
     * @param string|string[] $urlTemplate
104
     *
105
     * @return static
106
     *
107
     * @see http://schema.org/urlTemplate
108
     */
109
    public function urlTemplate($urlTemplate)
110
    {
111
        return $this->setProperty('urlTemplate', $urlTemplate);
112
    }
113
114
}
115