src/app/http/controllers/menu/GroupsController.php
public function options()
    {
        if( request()->has('language') ) {
            return HCMenuGroups::select("id", "name")
                ->where('language_code', request()->input('language'))
                ->orderBy('sequence')
                ->take(50)
                ->get();
        }

        return [];
    }
public function options()
    {
        if( request()->has('language') ) {
            return HCMenuGroups::select("id", "name")
                ->where('language_code', request()->input('language'))
                ->orderBy('sequence')
                ->take(50)
                ->get();
        }

        return [];
    }
public function options ( ) { if ( request ( ) -> has ( 'language' ) ) { return HCMenuGroups :: select ( "id" , "name" ) -> where ( 'language_code' , request ( ) -> input ( 'language' ) ) -> orderBy ( 'sequence' ) -> take ( 50 ) -> get ( ) ; } return [ ] ; }
Search for users

@return mixed
Search for users