1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<?php
namespace Gedcomx\Support;
interface HasJsonKey {
/**
* Whether the json-keyed value is supposed to have a unique key in the list.
*
* @return Whether the json-keyed value is supposed to have a unique key in the list.
*/
public function isHasUniqueKey();
/**
* The JSON key in the map for this object.
*
* @return The key in the map.
*/
public function getJsonKey();
/**
* The JSON key in the map for this object.
*
* @param string jsonKey The key in the map.
*/
public function setJsonKey($jsonKey);
}