Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Class: PathUtils

Namespace: utils

Methods

Verifica se a estrutura de pastas existe, criando quando não existir.

@param string $path Caminho que deverá ser validado

@return bool Verdadeiro se estiver tudo OK

public static function validatePath(string $path): bool

Parameters:

  • $path (string)

Verifica se o caminho existe e se é um diretório.

@param string $path Caminho que dever ser validado

public static function checkPath($path): bool

Parameters:

  • $path