BeSimpleSoap/Soap/SoapAttachment.php

40 lines
718 B
PHP

<?php
/*
* This file is part of the WebServiceBundle.
*
* (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 Bundle\WebServiceBundle\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;
}
}