src/commands/ActiveWindowController.php
public function renderWindowClassView($className, $namespace, $moduleId)
    {
        $alias = Inflector::humanize(Inflector::camel2words($className));
        return $this->view->render('@admin/commands/views/aw/classfile.php', [
            'className' => $className,
            'namespace' => $namespace,
            'luyaText' => $this->getGeneratorText('aw/create'),
            'moduleId' => $moduleId,
            'alias' => $alias,
        ]);
    }
public function renderWindowClassView($className, $namespace, $moduleId)
    {
        $alias = Inflector::humanize(Inflector::camel2words($className));
        return $this->view->render('@admin/commands/views/aw/classfile.php', [
            'className' => $className,
            'namespace' => $namespace,
            'luyaText' => $this->getGeneratorText('aw/create'),
            'moduleId' => $moduleId,
            'alias' => $alias,
        ]);
    }
public function renderWindowClassView ( $ className , $ namespace , $ moduleId ) { $ alias = Inflector :: humanize ( Inflector :: camel2words ( $ className ) ) ; return $ this -> view -> render ( '@admin/commands/views/aw/classfile.php' , [ 'className' => $ className , 'namespace' => $ namespace , 'luyaText' => $ this -> getGeneratorText ( 'aw/create' ) , 'moduleId' => $ moduleId , 'alias' => $ alias , ] ) ; }
Render the view file with its parameters.

@param string $className The class name to use.
@param string $namespace The namespace for the file.
@param string $moduleId The module identifier.
@return string
Render the view file with its parameters .