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 Factory

Creates a representation based on reflection.

Nette\PhpGenerator\Factory uses Nette\SmartObject
Namespace: Nette\PhpGenerator
Located at PhpGenerator/Factory.php
Methods summary
public Nette\PhpGenerator\ClassType
# fromClassReflection( ReflectionClass $from )

Returns

Nette\PhpGenerator\ClassType
ClassType
public Nette\PhpGenerator\Method
# fromMethodReflection( ReflectionMethod $from )

Returns

Nette\PhpGenerator\Method
Method
public Nette\PhpGenerator\GlobalFunction|Nette\PhpGenerator\Closure
# fromFunctionReflection( ReflectionFunction $from )

Returns

Nette\PhpGenerator\GlobalFunction|Nette\PhpGenerator\Closure
GlobalFunction|Closure
public Nette\PhpGenerator\Parameter
# fromParameterReflection( ReflectionParameter $from )

Returns

Nette\PhpGenerator\Parameter
Parameter
public Nette\PhpGenerator\Property
# fromPropertyReflection( ReflectionProperty $from )

Returns

Nette\PhpGenerator\Property
Property
Methods used from Nette\SmartObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0