PHP Class Deployment\Helpers

Afficher le fichier Open project: dg/ftp-deployment

Méthodes publiques

Méthode Description
fetchUrl ( $url, &$error, array $postData = NULL ) : string Processes HTTP request.
hashFile ( $file ) : string Computes hash.
matchMask ( $path, array $patterns, $isDir = FALSE ) : boolean Matches filename against patterns.

Method Details

fetchUrl() public static méthode

Processes HTTP request.
public static fetchUrl ( $url, &$error, array $postData = NULL ) : string
$postData array
Résultat string

hashFile() public static méthode

Computes hash.
public static hashFile ( $file ) : string
Résultat string

matchMask() public static méthode

Matches filename against patterns.
public static matchMask ( $path, array $patterns, $isDir = FALSE ) : boolean
$patterns array
Résultat boolean