Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5982868
VersionNumber.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
673 B
Referenced Files
None
Subscribers
None
VersionNumber.php
View Options
<?php
declare
(
strict_types
=
1
);
/*
* This file is part of PharIo\Version.
*
* (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace
PharIo\Version
;
class
VersionNumber
{
/** @var ?int */
private
$value
;
public
function
__construct
(?
int
$value
)
{
$this
->
value
=
$value
;
}
public
function
isAny
():
bool
{
return
$this
->
value
===
null
;
}
public
function
getValue
():
?
int
{
return
$this
->
value
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 22:35 (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/7f/97610dd9efc542d351e60cb128eb
Default Alt Text
VersionNumber.php (673 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment