public function clearCache($options = array()) { $command = new Library\Command(); $command->setAttributes($options); $this->_cache_chain->execute('clear.cache', $command); return $this; }
/** * Makes the command high priority so it kicks in before thumbnailable * * {@inheritdoc} */ protected function _initialize(Library\ObjectConfig $config) { $config->append(array('priority' => self::PRIORITY_HIGH)); parent::_initialize($config); }