chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
raw
history blame contribute delete
804 Bytes
<?php
declare(strict_types=1);
namespace Mautic\CoreBundle\Predis\Command;
use Predis\Command\Command;
use Predis\Command\PrefixableCommandInterface;
class Unlink extends Command implements PrefixableCommandInterface
{
public const ID = 'UNLINK';
public function getId(): string
{
return self::ID;
}
/**
* @param mixed[] $arguments
*
* @return mixed[]
*/
protected function filterArguments(array $arguments): array
{
return self::normalizeArguments($arguments);
}
public function prefixKeys($prefix): void
{
if ($arguments = $this->getArguments()) {
foreach ($arguments as &$key) {
$key = "$prefix$key";
}
$this->setRawArguments($arguments);
}
}
}