original_string: public function getAllSegmentsAndIgnoreVisibility()
      {
          $cacheKey = 'SegmentEditor.getAllSegmentsAndIgnoreVisibility';
          if (!$this->transientCache->contains($cacheKey)) {
              $result = $this->model->getAllSegmentsAndIgnoreVisibility();
  
              $this->transientCache->save($cacheKey, $result);
          }
          return $this->transientCache->fetch($cacheKey);
      }
code: public function getAllSegmentsAndIgnoreVisibility()
      {
          $cacheKey = 'SegmentEditor.getAllSegmentsAndIgnoreVisibility';
          if (!$this->transientCache->contains($cacheKey)) {
              $result = $this->model->getAllSegmentsAndIgnoreVisibility();
  
              $this->transientCache->save($cacheKey, $result);
          }
          return $this->transientCache->fetch($cacheKey);
      }
code_tokens: public function getAllSegmentsAndIgnoreVisibility ( ) { $ cacheKey = 'SegmentEditor.getAllSegmentsAndIgnoreVisibility' ; if ( ! $ this -> transientCache -> contains ( $ cacheKey ) ) { $ result = $ this -> model -> getAllSegmentsAndIgnoreVisibility ( ) ; $ this -> transientCache -> save ( $ cacheKey , $ result ) ; } return $ this -> transientCache -> fetch ( $ cacheKey ) ; }
docstring: Returns all stored segments that haven't been deleted.
  
  @return array
docstring_tokens: Returns all stored segments that haven t been deleted .