24 lines
440 B
PHP
24 lines
440 B
PHP
<?php
|
|
|
|
namespace Fixtures;
|
|
|
|
use Fixtures\Attachment\AttachmentCollection;
|
|
|
|
class DummyServiceResponseWithAttachments
|
|
{
|
|
/**
|
|
* @var bool $status
|
|
*/
|
|
public $status;
|
|
|
|
/**
|
|
* @var AttachmentCollection $attachmentCollection
|
|
*/
|
|
public $attachmentCollection;
|
|
|
|
public function hasAttachments()
|
|
{
|
|
return $this->attachmentCollection !== null && $this->attachmentCollection->hasAttachments();
|
|
}
|
|
}
|