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
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • ClassType
  • Closure
  • Constant
  • Factory
  • GlobalFunction
  • Helpers
  • Method
  • Parameter
  • PhpFile
  • PhpLiteral
  • PhpNamespace
  • Property
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class GlobalFunction

Global function.

Nette\PhpGenerator\GlobalFunction uses Nette\SmartObject, Nette\PhpGenerator\Traits\FunctionLike, Nette\PhpGenerator\Traits\NameAware, Nette\PhpGenerator\Traits\CommentAware
Namespace: Nette\PhpGenerator
Located at PhpGenerator/GlobalFunction.php
Methods summary
public static Nette\PhpGenerator\GlobalFunction
# from( string $function )

Parameters

$function

Returns

Nette\PhpGenerator\GlobalFunction
static
public string
# __toString( )

Returns

string
PHP code
Methods used from Nette\SmartObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods used from Nette\PhpGenerator\Traits\FunctionLike
addBody(), addParameter(), getBody(), getParameters(), getReturnNullable(), getReturnReference(), getReturnType(), isVariadic(), parametersToString(), returnTypeToString(), setBody(), setNamespace(), setParameters(), setReturnNullable(), setReturnReference(), setReturnType(), setVariadic()
Methods used from Nette\PhpGenerator\Traits\NameAware
__construct(), getName(), setName()
Methods used from Nette\PhpGenerator\Traits\CommentAware
addComment(), addDocument(), getComment(), getDocuments(), setComment(), setDocuments()
Magic properties summary
public string $body
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0