init
This commit is contained in:
41
vendor/phar-io/version/src/PreReleaseSuffix.php
vendored
Normal file
41
vendor/phar-io/version/src/PreReleaseSuffix.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
namespace PharIo\Version;
|
||||
|
||||
class PreReleaseSuffix
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $value;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
private $number;
|
||||
|
||||
/**
|
||||
* @param string $value
|
||||
* @param int|null $number
|
||||
*/
|
||||
public function __construct($value, $number = null)
|
||||
{
|
||||
$this->value = $value;
|
||||
$this->number = $number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|null
|
||||
*/
|
||||
public function getNumber()
|
||||
{
|
||||
return $this->number;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user