protected function fetchList($query, $column = 'id', $key = null)
	{
		$this->doBefore('query', $query, true);
		$this->applyCriteria($query);

		return $query->lists($column, $key);
	}
protected function fetchList($query, $column = 'id', $key = null)
	{
		$this->doBefore('query', $query, true);
		$this->applyCriteria($query);

		return $query->lists($column, $key);
	}
protected function fetchList ( $ query , $ column = 'id' , $ key = null ) { $ this -> doBefore ( 'query' , $ query , true ) ; $ this -> applyCriteria ( $ query ) ; return $ query -> lists ( $ column , $ key ) ; }
Perform a query, fetching an array of columns.

@param  \Illuminate\Database\Query\Builder  $query
@param  string $column
@param  string $key    Column to be used as the array keys

@return array
Perform a query fetching an array of columns .