public function checkPaths()
    {
        $path = Yii::getAlias($this->templatePath, false);

        if (!$path || !is_dir($path)) {
            throw new Exception("The template path \"{$this->templatePath}\" does not exist");
        }
    }
public function checkPaths()
    {
        $path = Yii::getAlias($this->templatePath, false);

        if (!$path || !is_dir($path)) {
            throw new Exception("The template path \"{$this->templatePath}\" does not exist");
        }
    }
public function checkPaths ( ) { $ path = Yii :: getAlias ( $ this -> templatePath , false ) ; if ( ! $ path || ! is_dir ( $ path ) ) { throw new Exception ( "The template path \"{$this->templatePath}\" does not exist" ) ; } }
Check if the template path and migrations path exists and writable.
Check if the template path and migrations path exists and writable .