41 lines
725 B
PHP
41 lines
725 B
PHP
<?php
|
|
/*
|
|
* This file is part of the BeSimpleSoapBundle.
|
|
*
|
|
* (c) Christian Kerl <christian-kerl@web.de>
|
|
*
|
|
* This source file is subject to the MIT license that is bundled
|
|
* with this source code in the file LICENSE.
|
|
*/
|
|
|
|
namespace BeSimple\SoapBundle\Soap;
|
|
|
|
class SoapAttachment
|
|
{
|
|
private $id;
|
|
private $type;
|
|
private $content;
|
|
|
|
public function __construct($id, $type, $content)
|
|
{
|
|
$this->id = $id;
|
|
$this->type = $type;
|
|
$this->content = $content;
|
|
}
|
|
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getType()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
public function getContent()
|
|
{
|
|
return $this->content;
|
|
}
|
|
}
|