StringUtil
in package
Tags
Table of Contents
- fqcnToBlockPrefix() : string|null
- Converts a fully-qualified class name to a block prefix.
- trim() : string
- Returns the trimmed data.
- __construct() : mixed
- This class should not be instantiated.
Methods
fqcnToBlockPrefix()
Converts a fully-qualified class name to a block prefix.
public
static fqcnToBlockPrefix(string $fqcn) : string|null
Parameters
- $fqcn : string
-
The fully-qualified class name
Return values
string|null —The block prefix or null if not a valid FQCN
trim()
Returns the trimmed data.
public
static trim(string $string) : string
Parameters
- $string : string
Return values
string —__construct()
This class should not be instantiated.
private
__construct() : mixed