public function guessStrategy()
    {
        $strategy = new RsyncStrategy();

        if ($this->getEnvOption('releases', false)) {
            $strategy = new ReleasesStrategy();
        }

        $strategy->setRuntime($this);
        return $strategy;
    }
public function guessStrategy()
    {
        $strategy = new RsyncStrategy();

        if ($this->getEnvOption('releases', false)) {
            $strategy = new ReleasesStrategy();
        }

        $strategy->setRuntime($this);
        return $strategy;
    }
public function guessStrategy ( ) { $ strategy = new RsyncStrategy ( ) ; if ( $ this -> getEnvOption ( 'releases' , false ) ) { $ strategy = new ReleasesStrategy ( ) ; } $ strategy -> setRuntime ( $ this ) ; return $ strategy ; }
Guesses the Deploy Strategy to use

@return StrategyInterface
Guesses the Deploy Strategy to use