public function optionsValue() { $query = \Input::get('query'); $items = Pegawai::where('name', 'like', '%' . $query . '%')->take(10)->get(); return $items; }