public function prepareBinding(array $fields) {
        $output = [];
        foreach ($fields as $current) {
            $output[$current] = ":" . $current;
        }
        return $output;
    }
public function prepareBinding(array $fields) {
        $output = [];
        foreach ($fields as $current) {
            $output[$current] = ":" . $current;
        }
        return $output;
    }
public function prepareBinding ( array $ fields ) { $ output = [ ] ; foreach ( $ fields as $ current ) { $ output [ $ current ] = ":" . $ current ; } return $ output ; }
Prepare a binding.

@param array $fields The fields.
@return array Returns the binding as key => :key.
Prepare a binding .