Exemple #1
0
 public function handle($attributes)
 {
     parent::handle($attributes);
     if (!$this->reference) {
         return;
     }
     $attributes = array_merge($this->reference->attributes, $attributes);
     $this->reference->handle($attributes);
     foreach ($this->reference->children as $_child) {
         $_attributes = array_merge($_child->attributes, $attributes);
         $_child->handle($_attributes);
     }
 }