Esempio n. 1
0
 /**
  * @return bool
  */
 public function info()
 {
     if (isset(self::$info[$this->type])) {
         return self::$info[$this->type];
     }
     if (isset($this->class)) {
         self::$info[$this->type] = $this->class->info();
         if (isset(self::$info[$this->type]['params'])) {
             self::$info[$this->type]['params'] = array_merge(self::$info[$this->type]['params'], $this->class->style());
         }
         return self::$info[$this->type];
     }
     return false;
 }