Files
ezmigrationbundle/API/KeyMatcherInterface.php
2016-10-03 09:55:17 +01:00

17 lines
382 B
PHP

<?php
namespace Kaliop\eZMigrationBundle\API;
interface KeyMatcherInterface extends MatcherInterface
{
/**
* Matches *one* item based on a unique key (id, identifier, etc... as long as it is a scalar value)
* @see MatcherInterface
*
* @param string|int $key
* @return mixed
* @throws \Exception
*/
public function matchOneByKey($key);
}