src/Webpatser/Countries/Countries.php
public function getListForSelect($display = 'name')
    {
        foreach ($this->getList($display) as $key => $value) {
            $countries[$key] = $value[$display];
        }
        
        //return the array
        return $countries;
    }
public function getListForSelect($display = 'name')
    {
        foreach ($this->getList($display) as $key => $value) {
            $countries[$key] = $value[$display];
        }
        
        //return the array
        return $countries;
    }
Returns a list of countries suitable to use with a select element in Laravelcollective\html
Will show the value and sort by the column specified in the display attribute

@param string display

@return array