Home
last modified time | relevance | path

Searched refs:strategyName (Results 1 – 2 of 2) sorted by relevance

/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/Strategy/
H A DStrategyFactory.php15 * @param callable|mixed|StrategyInterface|string $strategyName
19 public static function create($strategyName): StrategyInterface argument
21 if ($strategyName instanceof StrategyInterface) {
22 return $strategyName;
25 if (\is_callable($strategyName)) {
26 return new CallbackStrategy($strategyName);
29 if (\is_string($strategyName)) {
30 $predefinedStrategy = '\\Elastica\\Connection\\Strategy\\'.$strategyName;
36 if (\class_exists($strategyName) && \is_subclass_of($strategyName, StrategyInterfac
[all...]
/plugin/yearbox/_test/
H A DpagenameStrategy.test.php54 * @param string $strategyName
60 public function test_pagenameStrategy($strategyName, $baseNS, $name, $expectedPageId, $msg) argument
66 $strategy = PageNameStrategy::getPagenameStategy($strategyName);