Пример #1
0
 /**
  * Ensure the root directory exists.
  *
  * @param string $root root directory path
  *
  * @return string real path to root
  */
 protected function ensureDirectory($root)
 {
     $root = $this->wrapPath($root);
     return parent::ensureDirectory($root);
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 protected function ensureDirectory($root)
 {
     return parent::ensureDirectory(Yii::getAlias($root));
 }