コード例 #1
0
 public function clearCache($options = array())
 {
     $command = new Library\Command();
     $command->setAttributes($options);
     $this->_cache_chain->execute('clear.cache', $command);
     return $this;
 }
コード例 #2
0
 /**
  * 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);
 }