Lullabot/mpx-php

View on GitHub
src/DataService/GuidInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Lullabot\Mpx\DataService;

/**
 * Interface for mpx objects with a GUID field.
 *
 * Note that a "GUID" is not globally unique, but a string set on each asset
 * that is only unique within the owning account.
 */
interface GuidInterface extends OwnerIdInterface
{
    /**
     * Returns an alternate identifier for this object that is unique within the owning account.
     */
    public function getGuid(): ?string;

    /**
     * Set an alternate identifier for this object that is unique within the owning account.
     */
    public function setGuid(?string $guid);
}