BeSimpleSoap/tests/Fixtures/DummyServiceRequestWithAttachments.php

29 lines
540 B
PHP
Raw Normal View History

<?php
namespace Fixtures;
use Fixtures\Attachment\AttachmentCollection;
class DummyServiceRequestWithAttachments
{
/**
* @var int $dummyAttribute
*/
public $dummyAttribute;
/**
* @var bool $includeAttachments
*/
public $includeAttachments;
/**
* @var AttachmentCollection $attachmentCollection
*/
public $attachmentCollection;
public function hasAttachments()
{
return $this->attachmentCollection !== null && $this->attachmentCollection->hasAttachments();
}
}