Exemplo n.º 1
0
 /**
  * This method will return all capabilities disabled when constructor failed.
  *
  * {@inheritdoc}
  */
 public function getCapabilities()
 {
     $result = array('automatic_cleaning' => false, 'tags' => false, 'expired_read' => false, 'priority' => false, 'infinite_lifetime' => false, 'get_list' => false);
     if ($this->works) {
         $result = parent::getCapabilities();
     }
     return $result;
 }