This commit is contained in:
Anatoly 2018-02-16 10:42:25 +03:00
parent 63ccb5e4dc
commit ea2717e67b

View file

@ -109,15 +109,16 @@ class Path
return pathinfo($fileName, PATHINFO_FILENAME);
}
/**
* Преобразует строку путя в массив
* Часть конструктора
* Преобразует строку пути в массив
*
* @param string $path Путь
*
* @return array
*/
public function fromString ($path)
private function fromString ($path)
{
assert(is_string($path));