public function cacheActions(DirectCollection $collection)
    {
        $serializedCollection = serialize($collection);

        $this->set(Keys::EXT_ACTION, $serializedCollection);
    }
public function cacheActions(DirectCollection $collection)
    {
        $serializedCollection = serialize($collection);

        $this->set(Keys::EXT_ACTION, $serializedCollection);
    }
public function cacheActions ( DirectCollection $ collection ) { $ serializedCollection = serialize ( $ collection ) ; $ this -> set ( Keys :: EXT_ACTION , $ serializedCollection ) ; }
persists list of actions in cache

@param DirectCollection $collection the actions which should be cached

@return void
persists list of actions in cache