diff --git a/src/Path.php b/src/Path.php index 94aacbf..108a13a 100644 --- a/src/Path.php +++ b/src/Path.php @@ -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));