protected function resolveStrategyClass($strategy)
    {
        if (empty($strategy)) {
            return false;
        }

        if ( ! str_contains($strategy, '.')) {
            $strategy = config($this->getAliasesBaseConfigKey() . $strategy, $strategy);
        }

        if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
            return $strategy;
        }

        $strategy = $this->prefixStrategyNamespace($strategy);

        if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
            return $strategy;
        }

        return false;
    }
protected function resolveStrategyClass($strategy)
    {
        if (empty($strategy)) {
            return false;
        }

        if ( ! str_contains($strategy, '.')) {
            $strategy = config($this->getAliasesBaseConfigKey() . $strategy, $strategy);
        }

        if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
            return $strategy;
        }

        $strategy = $this->prefixStrategyNamespace($strategy);

        if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
            return $strategy;
        }

        return false;
    }
protected function resolveStrategyClass ( $ strategy ) { if ( empty ( $ strategy ) ) { return false ; } if ( ! str_contains ( $ strategy , '.' ) ) { $ strategy = config ( $ this -> getAliasesBaseConfigKey ( ) . $ strategy , $ strategy ) ; } if ( class_exists ( $ strategy ) && is_a ( $ strategy , $ this -> getStrategyInterfaceClass ( ) , true ) ) { return $ strategy ; } $ strategy = $ this -> prefixStrategyNamespace ( $ strategy ) ; if ( class_exists ( $ strategy ) && is_a ( $ strategy , $ this -> getStrategyInterfaceClass ( ) , true ) ) { return $ strategy ; } return false ; }
Resolves strategy assuming it is the class name or FQN of an action strategy interface
implementation or an alias for one.

@param string $strategy
@return string|false     returns full class namespace if it was resolved succesfully
Resolves strategy assuming it is the class name or FQN of an action strategy interface implementation or an alias for one .