RelationshipIdentifierInterface.php 602 B

12345678910111213141516171819202122232425262728
  1. <?php declare(strict_types=1);
  2. namespace Grav\Framework\Contracts\Relationships;
  3. use ArrayAccess;
  4. use Grav\Framework\Contracts\Object\IdentifierInterface;
  5. /**
  6. * Interface RelationshipIdentifierInterface
  7. */
  8. interface RelationshipIdentifierInterface extends IdentifierInterface
  9. {
  10. /**
  11. * If identifier has meta.
  12. *
  13. * @return bool
  14. * @phpstan-pure
  15. */
  16. public function hasIdentifierMeta(): bool;
  17. /**
  18. * Get identifier meta.
  19. *
  20. * @return array<string,mixed>|ArrayAccess<string,mixed>
  21. * @phpstan-pure
  22. */
  23. public function getIdentifierMeta();
  24. }