public function make($strategy)
    {
        if ( ! $strategy) {
            return $this->getDefaultStrategy();
        }

        // If the strategy indicates the FQN of display strategy,
        // or a classname that can be found in the default strategy name path, use it.
        if ($strategyClass = $this->resolveStrategyClass($strategy)) {

            return app($strategyClass);
        }

        throw new RuntimeException("Could not create strategy instance for '{$strategy}'");
    }
public function make($strategy)
    {
        if ( ! $strategy) {
            return $this->getDefaultStrategy();
        }

        // If the strategy indicates the FQN of display strategy,
        // or a classname that can be found in the default strategy name path, use it.
        if ($strategyClass = $this->resolveStrategyClass($strategy)) {

            return app($strategyClass);
        }

        throw new RuntimeException("Could not create strategy instance for '{$strategy}'");
    }
public function make ( $ strategy ) { if ( ! $ strategy ) { return $ this -> getDefaultStrategy ( ) ; } // If the strategy indicates the FQN of display strategy, // or a classname that can be found in the default strategy name path, use it. if ( $ strategyClass = $ this -> resolveStrategyClass ( $ strategy ) ) { return app ( $ strategyClass ) ; } throw new RuntimeException ( "Could not create strategy instance for '{$strategy}'" ) ; }
Makes a show field strategy instance.

@param string $strategy
@return ShowFieldInterface
Makes a show field strategy instance .