PHP Class CacheTool\Util\Formatter

Afficher le fichier Open project: gordalina/cachetool Class Usage Examples

Méthodes publiques

Méthode Description
bytes ( integer $bytes, integer $precision = 2 ) : string
date ( mixed $date, string $format = null ) : string

Method Details

bytes() public static méthode

public static bytes ( integer $bytes, integer $precision = 2 ) : string
$bytes integer
$precision integer
Résultat string

date() public static méthode

public static date ( mixed $date, string $format = null ) : string
$date mixed
$format string
Résultat string