mirror of
https://github.com/jbcr/ezmigrationbundle.git
synced 2026-03-27 10:12:21 +01:00
17 lines
382 B
PHP
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);
|
|
}
|