minor
This commit is contained in:
parent
63ccb5e4dc
commit
ea2717e67b
1 changed files with 4 additions and 3 deletions
|
|
@ -109,15 +109,16 @@ class Path
|
||||||
return pathinfo($fileName, PATHINFO_FILENAME);
|
return pathinfo($fileName, PATHINFO_FILENAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Преобразует строку путя в массив
|
* Часть конструктора
|
||||||
|
* Преобразует строку пути в массив
|
||||||
*
|
*
|
||||||
* @param string $path Путь
|
* @param string $path Путь
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function fromString ($path)
|
private function fromString ($path)
|
||||||
{
|
{
|
||||||
assert(is_string($path));
|
assert(is_string($path));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue