Helpers
final class Helpers
internal |
Constants
PHP_IDENT |
|
KEYWORDS |
|
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 52
static string
dump($var)
deprecated
deprecated use (new Nette\PhpGenerator\Dumper)->dump()
No description
at line 60
static string
format(string $statement, ...$args)
deprecated
deprecated use (new Nette\PhpGenerator\Dumper)->format()
No description
at line 68
static string
formatArgs(string $statement, array $args)
deprecated
deprecated use (new Nette\PhpGenerator\Dumper)->format()
No description
at line 75
static string
formatDocComment(string $content)
No description
at line 89
static string
tagName(string $name, string $of = PhpNamespace::NAME_NORMAL)
No description
at line 97
static string
simplifyTaggedNames(string $code, PhpNamespace|null $namespace)
No description
at line 108
static string
unformatDocComment(string $comment)
No description
at line 114
static string
unindent(string $s, int $level = 1)
No description
at line 122
static bool
isIdentifier($value)
No description
at line 128
static bool
isNamespaceIdentifier($value, bool $allowLeadingSlash = false)
No description
at line 135
static string
extractNamespace(string $name)
No description
at line 141
static string
extractShortName(string $name)
No description
at line 149
static string
tabsToSpaces(string $s, int $count = 4)
No description
at line 156
static object
createObject(string $class, array $props)
internal |
No description
at line 162
static string|null
validateType(string|null $type, bool $nullable)
No description
Traits
Static class.