public function generateViewFile($blockClassName)
    {
        sort($this->viewFileDoc);
        return $this->view->render('@cms/views/commands/block/create_block_view.php', [
            'blockClassName' => $blockClassName,
            'phpdoc' => $this->viewFileDoc,
            'luyaText' => $this->getGeneratorText('block/create'),
        ]);
    }
public function generateViewFile($blockClassName)
    {
        sort($this->viewFileDoc);
        return $this->view->render('@cms/views/commands/block/create_block_view.php', [
            'blockClassName' => $blockClassName,
            'phpdoc' => $this->viewFileDoc,
            'luyaText' => $this->getGeneratorText('block/create'),
        ]);
    }
public function generateViewFile ( $ blockClassName ) { sort ( $ this -> viewFileDoc ) ; return $ this -> view -> render ( '@cms/views/commands/block/create_block_view.php' , [ 'blockClassName' => $ blockClassName , 'phpdoc' => $ this -> viewFileDoc , 'luyaText' => $ this -> getGeneratorText ( 'block/create' ) , ] ) ; }
Generate the view file for the block.

@param string $blockClassName The name of the block class.
@return string The rendered view file.
Generate the view file for the block .