protected function getCurrencyArgument()
    {
        // Get the user entered value
        $value = preg_replace('/\s+/', '', $this->argument('currency'));

        // Return all currencies if requested
        if ($value === 'all') {
            return array_keys($this->currencies);
        }

        return explode(',', $value);
    }
protected function getCurrencyArgument()
    {
        // Get the user entered value
        $value = preg_replace('/\s+/', '', $this->argument('currency'));

        // Return all currencies if requested
        if ($value === 'all') {
            return array_keys($this->currencies);
        }

        return explode(',', $value);
    }
protected function getCurrencyArgument ( ) { // Get the user entered value $ value = preg_replace ( '/\s+/' , '' , $ this -> argument ( 'currency' ) ) ; // Return all currencies if requested if ( $ value === 'all' ) { return array_keys ( $ this -> currencies ) ; } return explode ( ',' , $ value ) ; }
Get currency argument.

@return array
Get currency argument .