widgets() public method

See also: Bolt\Twig\Handler\WidgetHandler::widgets()
public widgets ( $location = null, $zone = 'frontend', $wrapper = 'widgetwrapper.twig' )
Example #1
0
 public function testWidget()
 {
     $app = $this->getApp();
     $handlers = $this->getTwigHandlers($app);
     $handlers['widget'] = $this->getMockHandler('WidgetHandler', 'widgets');
     $twig = new TwigExtension($app, $handlers, true);
     $twig->widgets(null, null);
 }