code: public function cacheActions(DirectCollection $collection)
      {
          $serializedCollection = serialize($collection);
  
          $this->set(Keys::EXT_ACTION, $serializedCollection);
      }
docs: persists list of actions in cache
  
  @param DirectCollection $collection the actions which should be cached
  
  @return void