original_string: public function allNodes()
      {
          $orderColumn = DB::getQueryGrammar()->wrap($this->orderColumn);
          $byOrder = $orderColumn.' = 0,'.$orderColumn;
  
          $self = new static();
  
          if ($this->queryCallback instanceof \Closure) {
              $self = call_user_func($this->queryCallback, $self);
          }
  
          return $self->orderByRaw($byOrder)->get()->toArray();
      }
code: public function allNodes()
      {
          $orderColumn = DB::getQueryGrammar()->wrap($this->orderColumn);
          $byOrder = $orderColumn.' = 0,'.$orderColumn;
  
          $self = new static();
  
          if ($this->queryCallback instanceof \Closure) {
              $self = call_user_func($this->queryCallback, $self);
          }
  
          return $self->orderByRaw($byOrder)->get()->toArray();
      }
code_tokens: public function allNodes ( ) { $ orderColumn = DB :: getQueryGrammar ( ) -> wrap ( $ this -> orderColumn ) ; $ byOrder = $ orderColumn . ' = 0,' . $ orderColumn ; $ self = new static ( ) ; if ( $ this -> queryCallback instanceof \ Closure ) { $ self = call_user_func ( $ this -> queryCallback , $ self ) ; } return $ self -> orderByRaw ( $ byOrder ) -> get ( ) -> toArray ( ) ; }
docstring: Get all elements.
  
  @return mixed
docstring_tokens: Get all elements .