BeSimpleSoap/tests/Fixtures/DummyServiceResponseWithAtt...

24 lines
440 B
PHP
Raw Normal View History

<?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();
}
}