original_string: protected function getNodesBetween($min, $max)
      {
          $config = $this->config;
          $query = $this->tree->table()
                  ->select(NULL)// fetch only id
                  ->select("$config[id] AS id")
                  ->where("($config[lft] >= :min AND $config[lft] <= :max) OR ($config[rgt] >= :min AND $config[rgt] <= :max)", [
                      ':min' => $min,
                      ':max' => $max,
                  ])
                  ->fetchAll();
          $ids = array_map(function ($key) {
              return $key['id'];
          }, $query);
          return $ids;
      }
code: protected function getNodesBetween($min, $max)
      {
          $config = $this->config;
          $query = $this->tree->table()
                  ->select(NULL)// fetch only id
                  ->select("$config[id] AS id")
                  ->where("($config[lft] >= :min AND $config[lft] <= :max) OR ($config[rgt] >= :min AND $config[rgt] <= :max)", [
                      ':min' => $min,
                      ':max' => $max,
                  ])
                  ->fetchAll();
          $ids = array_map(function ($key) {
              return $key['id'];
          }, $query);
          return $ids;
      }
code_tokens: protected function getNodesBetween ( $ min , $ max ) { $ config = $ this -> config ; $ query = $ this -> tree -> table ( ) -> select ( NULL ) // fetch only id -> select ( "$config[id] AS id" ) -> where ( "($config[lft] >= :min AND $config[lft] <= :max) OR ($config[rgt] >= :min AND $config[rgt] <= :max)" , [ ':min' => $ min , ':max' => $ max , ] ) -> fetchAll ( ) ; $ ids = array_map ( function ( $ key ) { return $ key [ 'id' ] ; } , $ query ) ; return $ ids ; }
docstring: Get IDs of nodes between indexes including parent.
  @param $min
  @param $max
  @return array
docstring_tokens: Get IDs of nodes between indexes including parent .