original_string: public function listItems($context = null)
      {
          if ($this->items === null) {
              $this->loadItems();
          }
  
          if ($context !== null) {
              return $this->filterByContext($this->groupedItems, $context);
          }
  
          return $this->groupedItems;
      }
code: public function listItems($context = null)
      {
          if ($this->items === null) {
              $this->loadItems();
          }
  
          if ($context !== null) {
              return $this->filterByContext($this->groupedItems, $context);
          }
  
          return $this->groupedItems;
      }
code_tokens: public function listItems ( $ context = null ) { if ( $ this -> items === null ) { $ this -> loadItems ( ) ; } if ( $ context !== null ) { return $ this -> filterByContext ( $ this -> groupedItems , $ context ) ; } return $ this -> groupedItems ; }
docstring: Returns a collection of all settings by group, filtered by context
  @param  string $context
  @return array
docstring_tokens: Returns a collection of all settings by group filtered by context