src/Rocketeer/Strategies/Dependencies/BowerStrategy.php
protected function getInstallationOptions($command)
    {
        $flags = (array) $this->getFlags($command);
        $credentials = $this->credentials->getServerCredentials();
        if (Arr::get($credentials, 'username') === 'root') {
            return array_merge($flags, ['--allow-root' => null]);
        }

        return $flags;
    }
protected function getInstallationOptions($command)
    {
        $flags = (array) $this->getFlags($command);
        $credentials = $this->credentials->getServerCredentials();
        if (Arr::get($credentials, 'username') === 'root') {
            return array_merge($flags, ['--allow-root' => null]);
        }

        return $flags;
    }
protected function getInstallationOptions ( $ command ) { $ flags = ( array ) $ this -> getFlags ( $ command ) ; $ credentials = $ this -> credentials -> getServerCredentials ( ) ; if ( Arr :: get ( $ credentials , 'username' ) === 'root' ) { return array_merge ( $ flags , [ '--allow-root' => null ] ) ; } return $ flags ; }
Get the options to run Bower with.

@param string $command

@return array
Get the options to run Bower with .