mirror of
https://github.com/JBDevLabs/ezmigrationbundle.git
synced 2026-03-24 08:52:16 +01:00
23 lines
463 B
PHP
23 lines
463 B
PHP
<?php
|
|
|
|
namespace Kaliop\eZMigrationBundle\API;
|
|
|
|
/**
|
|
* Used to resolve references
|
|
*/
|
|
interface ReferenceResolverInterface
|
|
{
|
|
/**
|
|
* @param string $stringIdentifier
|
|
* @return bool
|
|
*/
|
|
public function isReference($stringIdentifier);
|
|
|
|
/**
|
|
* @param string $stringIdentifier
|
|
* @return mixed
|
|
* @throws \Exception if reference with given Identifier is not found
|
|
*/
|
|
public function getReferenceValue($stringIdentifier);
|
|
}
|