BeSimpleSoap/tests/Fixtures/Attachment/MessageWithAttachmentsTrait.php

17 lines
334 B
PHP
Raw Normal View History

<?php
namespace Fixtures\Attachment;
trait MessageWithAttachmentsTrait
{
/**
* @var AttachmentCollection $attachmentCollection
*/
public $attachmentCollection;
public function hasAttachments()
{
return $this->attachmentCollection !== null && $this->attachmentCollection->hasAttachments();
}
}