Files
ezmigrationbundle/API/ReferenceResolverInterface.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);
}