public function pluck($key) : Collection
	{
		if (! $this->preferences->has($key)) {
			return new Collection;
		}

		return Collection::make(
			explode(',', $this->preferences[$key])
		);
	}
public function pluck($key) : Collection
	{
		if (! $this->preferences->has($key)) {
			return new Collection;
		}

		return Collection::make(
			explode(',', $this->preferences[$key])
		);
	}
public function pluck ( $ key ) : Collection { if ( ! $ this -> preferences -> has ( $ key ) ) { return new Collection ; } return Collection :: make ( explode ( ',' , $ this -> preferences [ $ key ] ) ) ; }
Plucks the given key from the user preferences.

@param  string $key

@return Collection
Plucks the given key from the user preferences .