-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathStringsCommandsTrait.php
34 lines (29 loc) · 972 Bytes
/
StringsCommandsTrait.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* This file is part of RedisClient.
* git: https://github.com/cheprasov/php-redis-client
*
* (C) Alexander Cheprasov <acheprasov84@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RedisClient\Command\Traits\Version6x0;
use RedisClient\Command\Traits\Version3x2\StringsCommandsTrait as stringsCommandsTraitVersion3x2;
/**
* Scripting Commands
* @link http://redis.io/commands#strings
*/
trait StringsCommandsTrait {
use StringsCommandsTraitVersion3x2;
/**
* STRALGO LCS algo-specific-argument [algo-specific-argument ...]
* @link https://redis.io/commands/stralgo
*
* @param array|array[] $algoSpecificArguments
* @return string|integer|string[]
*/
public function stralgoLcs(array $algoSpecificArguments) {
return $this->returnCommand(['STRALGO', 'LCS'], null, $algoSpecificArguments);
}
}