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);
    }
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);
    }
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 ) ; }
Returns all stored segments that haven't been deleted.

@return array
Returns all stored segments that haven t been deleted .