/** * Constructor. * * @param LayoutInterface $layout The layout * @param string|null $file The file name */ public function __construct(LayoutInterface $layout, $file = null) { parent::__construct($layout); $this->setFile($file); $this->body = 'body'; }