SoapClient large refactoring & tests update
This commit is contained in:
37
src/BeSimple/SoapCommon/Mime/Parser/ParsedMimeHeader.php
Normal file
37
src/BeSimple/SoapCommon/Mime/Parser/ParsedMimeHeader.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace BeSimple\SoapCommon\Mime\Parser;
|
||||
|
||||
class ParsedMimeHeader
|
||||
{
|
||||
private $name;
|
||||
private $value;
|
||||
private $subValue;
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param string $value
|
||||
* @param string|null $subValue
|
||||
*/
|
||||
public function __construct($name, $value, $subValue = null)
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->value = $value;
|
||||
$this->subValue = $subValue;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public function getSubValue()
|
||||
{
|
||||
return $this->subValue;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user