yii\base\Theme::setBasePath PHP 메소드

setBasePath() 공개 메소드

또한 보기: pathMap
public setBasePath ( string $path )
$path string the root path or path alias of this theme. All resources of this theme are located under this directory.
    public function setBasePath($path)
    {
        $this->_basePath = Yii::getAlias($path);
    }