2017-02-03 15:22:37 +01:00
|
|
|
<?php
|
|
|
|
|
2017-03-15 10:25:48 +01:00
|
|
|
namespace Fixtures\Attachment;
|
2017-02-03 15:22:37 +01:00
|
|
|
|
|
|
|
class Attachment
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string $fileName
|
|
|
|
*/
|
|
|
|
public $fileName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string $content
|
|
|
|
*/
|
|
|
|
public $contentType;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string $content
|
|
|
|
*/
|
|
|
|
public $content;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Attachment constructor.
|
|
|
|
*
|
|
|
|
* @param string $fileName
|
|
|
|
* @param string $contentType
|
|
|
|
* @param string $content
|
|
|
|
*/
|
|
|
|
public function __construct($fileName, $contentType, $content)
|
|
|
|
{
|
|
|
|
$this->fileName = $fileName;
|
|
|
|
$this->contentType = $contentType;
|
|
|
|
$this->content = $content;
|
|
|
|
}
|
|
|
|
}
|