app/Util/Database/Support/Collection.php
/**
     * Concatenate values of a given key as a string.
     * @param  string  $value
     * @param  string  $glue
     * @return string
     */
Concatenate values of a given key as a string.
Concatenate values of a given key as a string .
public function implode($value, $glue = null)
    {
        $first = $this->first();
        if (is_array($first) || is_object($first)) {
            return implode($glue, $this->pluck($value)->all());
        }
        return implode($value, $this->items);
    }
public function implode ( $ value , $ glue = null ) { $ first = $ this -> first ( ) ; if ( is_array ( $ first ) || is_object ( $ first ) ) { return implode ( $ glue , $ this -> pluck ( $ value ) -> all ( ) ) ; } return implode ( $ value , $ this -> items ) ; }
Concatenate values of a given key as a string.
Concatenate values of a given key as a string .