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