Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • ClassType
  • Helpers
  • Method
  • Parameter
  • PhpFile
  • PhpLiteral
  • PhpNamespace
  • Property
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Helpers

PHP code generator utils.

Namespace: Nette\PhpGenerator
Located at PhpGenerator/Helpers.php
Methods summary
public static string
# dump( $var )

Returns a PHP representation of a variable.

Returns a PHP representation of a variable.

Returns

string
string
public static string
# format( $statement )

Generates PHP statement.

Generates PHP statement.

Returns

string
string
public static string
# formatArgs( $statement, array $args )

Generates PHP statement.

Generates PHP statement.

Returns

string
string
public static string
# formatMember( $name )

Returns a PHP representation of a object member.

Returns a PHP representation of a object member.

Returns

string
string
public static boolean
# isIdentifier( $value )

Returns

boolean
bool
public static string
# extractNamespace( string $name )

Parameters

$name

Returns

string
string
public static string
# extractShortName( string $name )

Parameters

$name

Returns

string
string
Constants summary
string PHP_IDENT
#'[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
integer MAX_DEPTH
#50
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0