errors with Yii::etAlias()

hi guys, i find a problem in the Yii2

when i use this

<?php $this->beginContent(’@backendThemes\adminlte\views\layouts\main.php’); ?>

i get this error when this try use Yii::getAlias()

Invalid Parameter – yii\base\InvalidParamException

public function renderFile($viewFile, $params = [], $context = null)

{


    &#036;viewFile = Yii::getAlias(&#036;viewFile);

but in this case (the only diference is in the / )

regards, carlos

sorry for my english thanks

<?php $this->beginContent(’@backendThemes/adminlte/views/layouts/main.php’); ?>

this work perfectly

i see in the file BaseYii.php

and this only see if exist (’/’) but no ‘\’

public static function getAlias($alias, $throwException = true)

{


    if (strncmp(&#036;alias, '@', 1)) {


        // not an alias


        return &#036;alias;


    }





    &#036;pos = strpos(&#036;alias, '/');

any sugestions for this case or only work using / ?

my suggestion is add a function for replace \ to /

sorry for my english thanks

regards,carlos