Helper is the base class for all helper classes.
- author Fabien Potencier
Abstract
Methods |
public static formatMemory(int $memory) : string |
public static formatTime(int|float $secs, int $precision = 1) : string |
public getHelperSet() : ?Symfony |
public static length(?string $string) : int Returns the length of a string, using mb_strlen if it is available. The length is related to how many bytes the string will use. |
public static removeDecoration(Symfony |
public setHelperSet(?Symfony |
public static substr(?string $string, int $from, ?int $length = NULL) : string Returns the subset of a string, using mb_substr if it is available. |
public static width(?string $string) : int Returns the width of a string, using mb_strwidth if it is available. The width is how many characters positions the string will use. |
Properties |
protected ?Symfony |
Methods |
public static formatMemory(int $memory) : string |
public static formatTime(int|float $secs, int $precision = 1) : string |
public static length(?string $string) : int Returns the length of a string, using mb_strlen if it is available. The length is related to how many bytes the string will use. |
public static removeDecoration(Symfony |
public static substr(?string $string, int $from, ?int $length = NULL) : string Returns the subset of a string, using mb_substr if it is available. |
public static width(?string $string) : int Returns the width of a string, using mb_strwidth if it is available. The width is how many characters positions the string will use. |