original_string: public function index()
      {
          $this->loadModel('User.Users');
          $users = $this->Users->find()->contain(['Roles']);
  
          if (!empty($this->request->query['filter'])) {
              $this->Users->search($this->request->query['filter'], $users);
          }
  
          $this->title(__d('user', 'Users List'));
          $this->set('users', $this->paginate($users));
          $this->Breadcrumb->push('/admin/user/manage');
      }
code: public function index()
      {
          $this->loadModel('User.Users');
          $users = $this->Users->find()->contain(['Roles']);
  
          if (!empty($this->request->query['filter'])) {
              $this->Users->search($this->request->query['filter'], $users);
          }
  
          $this->title(__d('user', 'Users List'));
          $this->set('users', $this->paginate($users));
          $this->Breadcrumb->push('/admin/user/manage');
      }
code_tokens: public function index ( ) { $ this -> loadModel ( 'User.Users' ) ; $ users = $ this -> Users -> find ( ) -> contain ( [ 'Roles' ] ) ; if ( ! empty ( $ this -> request -> query [ 'filter' ] ) ) { $ this -> Users -> search ( $ this -> request -> query [ 'filter' ] , $ users ) ; } $ this -> title ( __d ( 'user' , 'Users List' ) ) ; $ this -> set ( 'users' , $ this -> paginate ( $ users ) ) ; $ this -> Breadcrumb -> push ( '/admin/user/manage' ) ; }
docstring: Shows a list of all registered users.
  
  @return void
docstring_tokens: Shows a list of all registered users .