src/Rocketeer/Services/Builders/Modules/StrategiesBuilder.php
protected function buildStrategyFromName($strategy, $concrete)
    {
        $concrete = $this->modulable->findQualifiedName($concrete, 'strategies', $strategy);

        if (!$concrete) {
            return false;
        }

        return new $concrete($this->container);
    }
protected function buildStrategyFromName($strategy, $concrete)
    {
        $concrete = $this->modulable->findQualifiedName($concrete, 'strategies', $strategy);

        if (!$concrete) {
            return false;
        }

        return new $concrete($this->container);
    }
protected function buildStrategyFromName ( $ strategy , $ concrete ) { $ concrete = $ this -> modulable -> findQualifiedName ( $ concrete , 'strategies' , $ strategy ) ; if ( ! $ concrete ) { return false ; } return new $ concrete ( $ this -> container ) ; }
Find a build a strategy by its class name.

@param string $strategy
@param string $concrete

@return object|false
Find a build a strategy by its class name .