29 lines
574 B
PHP
29 lines
574 B
PHP
|
<?php
|
||
|
|
||
|
namespace BeSimple\SoapServer\Tests;
|
||
|
|
||
|
use BeSimple\SoapServer\Tests\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();
|
||
|
}
|
||
|
}
|