Пример #1
0
 /**
  * @param string $place
  * @param array $attributes
  * @param array $options
  *
  * @return string
  */
 public function widgets($place, array $attributes = [], array $options = [])
 {
     $result = '';
     foreach ($this->widgets->getWidgetsForPlace($place) as $controller) {
         $result .= $this->handler->render(new ControllerReference($controller, $attributes, []), 'hinclude', $options);
     }
     return $result;
 }