forked from eloquent/composer-config-reader
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSupportInformation.php
More file actions
116 lines (106 loc) · 2.47 KB
/
SupportInformation.php
File metadata and controls
116 lines (106 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
namespace Eloquent\Composer\Configuration\Element;
/**
* Represents the support information for a package.
*/
class SupportInformation
{
/**
* Construct a new support information configuration.
*
* @param string|null $email The support email address.
* @param string|null $issues The URI of the issue tracker.
* @param string|null $forum The URI of the forum.
* @param string|null $wiki The URI of the wiki.
* @param string|null $irc The URI of the IRC channel.
* @param string|null $source The URI to the source code.
* @param mixed $rawData The raw data describing the support information.
*/
public function __construct(
$email = null,
$issues = null,
$forum = null,
$wiki = null,
$irc = null,
$source = null,
$rawData = null
) {
$this->email = $email;
$this->issues = $issues;
$this->forum = $forum;
$this->wiki = $wiki;
$this->irc = $irc;
$this->source = $source;
$this->rawData = $rawData;
}
/**
* Get the support email address.
*
* @return string|null The support email address.
*/
public function email()
{
return $this->email;
}
/**
* Get the URI of the issue tracker.
*
* @return string|null The URI of the issue tracker.
*/
public function issues()
{
return $this->issues;
}
/**
* Get the URI of the forum.
*
* @return string|null The URI of the forum.
*/
public function forum()
{
return $this->forum;
}
/**
* Get the URI of the wiki.
*
* @return string|null The URI of the wiki.
*/
public function wiki()
{
return $this->wiki;
}
/**
* Get the URI of the IRC channel.
*
* @return string|null The URI of the IRC channel.
*/
public function irc()
{
return $this->irc;
}
/**
* Get the URI to the source code.
*
* @return string|null The URI to the source code.
*/
public function source()
{
return $this->source;
}
/**
* Get the raw configuration data.
*
* @return mixed The raw configuration data.
*/
public function rawData()
{
return $this->rawData;
}
private $email;
private $issues;
private $forum;
private $wiki;
private $irc;
private $source;
private $rawData;
}