2017-02-03 15:22:37 +01:00
|
|
|
<?php
|
|
|
|
|
2017-03-15 10:25:48 +01:00
|
|
|
namespace Fixtures;
|
2017-02-03 15:22:37 +01:00
|
|
|
|
2017-03-15 10:25:48 +01:00
|
|
|
use Fixtures\Attachment\AttachmentCollection;
|
2017-02-03 15:22:37 +01:00
|
|
|
|
|
|
|
class DummyServiceResponseWithAttachments
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var bool $status
|
|
|
|
*/
|
|
|
|
public $status;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var AttachmentCollection $attachmentCollection
|
|
|
|
*/
|
|
|
|
public $attachmentCollection;
|
|
|
|
|
|
|
|
public function hasAttachments()
|
|
|
|
{
|
|
|
|
return $this->attachmentCollection !== null && $this->attachmentCollection->hasAttachments();
|
|
|
|
}
|
|
|
|
}
|