A

ClassType::addExtend() — Method in class ClassType
ClassType::addImplement() — Method in class ClassType
ClassType::addTrait() — Method in class ClassType
ClassType::addMember() — Method in class ClassType
ClassType::addConstant() — Method in class ClassType
ClassType::addProperty() — Method in class ClassType
ClassType::addMethod() — Method in class ClassType
Closure::addUse() — Method in class Closure
PhpFile::addClass() — Method in class PhpFile
PhpFile::addInterface() — Method in class PhpFile
PhpFile::addTrait() — Method in class PhpFile
PhpFile::addNamespace() — Method in class PhpFile
PhpFile::addUse() — Method in class PhpFile
PhpNamespace::addUse() — Method in class PhpNamespace
PhpNamespace::add() — Method in class PhpNamespace
PhpNamespace::addClass() — Method in class PhpNamespace
PhpNamespace::addInterface() — Method in class PhpNamespace
PhpNamespace::addTrait() — Method in class PhpNamespace
CommentAware::addComment() — Method in class CommentAware
FunctionLike::addBody() — Method in class FunctionLike
FunctionLike::addParameter() — Method in class FunctionLike

B

$ Closure#bodyProperty in class Closure
$ GlobalFunction#bodyProperty in class GlobalFunction
$ Method#bodyProperty in class Method

C

ClassTypeClass in namespace Nette\PhpGenerator

Class/Interface/Trait description.

ClosureClass in namespace Nette\PhpGenerator
Closure.
ConstantClass in namespace Nette\PhpGenerator

Class constant.

Helpers::createObject() — Method in class Helpers
CommentAwareClass in namespace Nette\PhpGenerator\Traits
NameAware::cloneWithName() — Method in class NameAware

Returns clone with a different name.

D

Helpers::dump() — Method in class Helpers

Returns a PHP representation of a variable.

$ Parameter#defaultValueProperty in class Parameter
Printer::dump() — Method in class Printer
PsrPrinter::dump() — Method in class PsrPrinter

E

Helpers::extractNamespace() — Method in class Helpers
Helpers::extractShortName() — Method in class Helpers

F

ClassType::from() — Method in class ClassType
Closure::from() — Method in class Closure
FactoryClass in namespace Nette\PhpGenerator

Creates a representation based on reflection.

Factory::fromClassReflection() — Method in class Factory
Factory::fromMethodReflection() — Method in class Factory
Factory::fromFunctionReflection() — Method in class Factory
Factory::fromParameterReflection() — Method in class Factory
Factory::fromPropertyReflection() — Method in class Factory
GlobalFunction::from() — Method in class GlobalFunction
Helpers::format() — Method in class Helpers

Generates PHP statement.

Helpers::formatArgs() — Method in class Helpers

Generates PHP statement.

Helpers::formatMember() — Method in class Helpers

Returns a PHP representation of a object member.

Helpers::formatDocComment() — Method in class Helpers
Method::from() — Method in class Method
FunctionLikeClass in namespace Nette\PhpGenerator\Traits

G

ClassType::getNamespace() — Method in class ClassType

Deprecated: an object can be in multiple namespaces.

ClassType::getName() — Method in class ClassType
ClassType::getType() — Method in class ClassType
ClassType::getExtends() — Method in class ClassType
ClassType::getImplements() — Method in class ClassType
ClassType::getTraits() — Method in class ClassType
ClassType::getTraitResolutions() — Method in class ClassType
ClassType::getConstants() — Method in class ClassType
ClassType::getProperties() — Method in class ClassType
ClassType::getProperty() — Method in class ClassType
ClassType::getMethods() — Method in class ClassType
ClassType::getMethod() — Method in class ClassType
Closure::getUses() — Method in class Closure
Constant::getValue() — Method in class Constant
GlobalFunctionClass in namespace Nette\PhpGenerator

Global function.

Method::getBody() — Method in class Method
Parameter::getTypeHint() — Method in class Parameter
Parameter::getDefaultValue() — Method in class Parameter
PhpFile::getNamespaces() — Method in class PhpFile
PhpFile::getStrictTypes() — Method in class PhpFile
PhpNamespace::getName() — Method in class PhpNamespace
PhpNamespace::getBracketedSyntax() — Method in class PhpNamespace
PhpNamespace::getUses() — Method in class PhpNamespace
PhpNamespace::getClasses() — Method in class PhpNamespace
Property::getValue() — Method in class Property
CommentAware::getComment() — Method in class CommentAware
FunctionLike::getBody() — Method in class FunctionLike
FunctionLike::getParameters() — Method in class FunctionLike
FunctionLike::getReturnType() — Method in class FunctionLike
FunctionLike::getReturnReference() — Method in class FunctionLike
FunctionLike::getReturnNullable() — Method in class FunctionLike
NameAware::getName() — Method in class NameAware
VisibilityAware::getVisibility() — Method in class VisibilityAware

H

ClassType::hasProperty() — Method in class ClassType
ClassType::hasMethod() — Method in class ClassType
HelpersClass in namespace Nette\PhpGenerator

PHP code generator utils.

Parameter::hasDefaultValue() — Method in class Parameter

I

ClassType::isFinal() — Method in class ClassType
ClassType::isAbstract() — Method in class ClassType
Helpers::isIdentifier() — Method in class Helpers
Helpers::isNamespaceIdentifier() — Method in class Helpers
Method::isStatic() — Method in class Method
Method::isFinal() — Method in class Method
Method::isAbstract() — Method in class Method
Parameter::isReference() — Method in class Parameter
Parameter::isNullable() — Method in class Parameter
$ Printer#indentationProperty in class Printer
Printer::indent() — Method in class Printer
Property::isStatic() — Method in class Property
$ PsrPrinter#indentationProperty in class PsrPrinter
FunctionLike::isVariadic() — Method in class FunctionLike

L

$ Printer#linesBetweenMethodsProperty in class Printer
$ PsrPrinter#linesBetweenMethodsProperty in class PsrPrinter

M

$ ClassType#methodsProperty in class ClassType
MethodClass in namespace Nette\PhpGenerator

Class method.

N

NameAwareClass in namespace Nette\PhpGenerator\Traits

P

$ ClassType#propertiesProperty in class ClassType
ParameterClass in namespace Nette\PhpGenerator

Method parameter description.

PhpFileClass in namespace Nette\PhpGenerator

Instance of PHP file.

PhpLiteralClass in namespace Nette\PhpGenerator

PHP literal value.

PhpNamespaceClass in namespace Nette\PhpGenerator

Namespaced part of a PHP file.

PrinterClass in namespace Nette\PhpGenerator

Generates PHP code.

Printer::printFunction() — Method in class Printer
Printer::printClosure() — Method in class Printer
Printer::printMethod() — Method in class Printer
Printer::printClass() — Method in class Printer
Printer::printNamespace() — Method in class Printer
Printer::printFile() — Method in class Printer
Printer::printUses() — Method in class Printer
Printer::printParameters() — Method in class Printer
Printer::printReturnType() — Method in class Printer
PropertyClass in namespace Nette\PhpGenerator

Class property description.

PsrPrinterClass in namespace Nette\PhpGenerator

Generates PHP code compatible with PSR-2 and PSR-12.

R

ClassType::removeConstant() — Method in class ClassType
ClassType::removeProperty() — Method in class ClassType
ClassType::removeMethod() — Method in class ClassType
FunctionLike::removeParameter() — Method in class FunctionLike

S

ClassType::setName() — Method in class ClassType
ClassType::setType() — Method in class ClassType
ClassType::setFinal() — Method in class ClassType
ClassType::setAbstract() — Method in class ClassType
ClassType::setExtends() — Method in class ClassType
ClassType::setImplements() — Method in class ClassType
ClassType::setTraits() — Method in class ClassType
ClassType::setConstants() — Method in class ClassType
ClassType::setProperties() — Method in class ClassType
ClassType::setMethods() — Method in class ClassType
Closure::setUses() — Method in class Closure
Constant::setValue() — Method in class Constant
Method::setBody() — Method in class Method
Method::setStatic() — Method in class Method
Method::setFinal() — Method in class Method
Method::setAbstract() — Method in class Method
Parameter::setReference() — Method in class Parameter
Parameter::setTypeHint() — Method in class Parameter
Parameter::setOptional() — Method in class Parameter
Parameter::setNullable() — Method in class Parameter
Parameter::setDefaultValue() — Method in class Parameter
PhpFile::setStrictTypes() — Method in class PhpFile

Adds declare(strict_types=1) to output.

PhpNamespace::setBracketedSyntax() — Method in class PhpNamespace
Printer::setTypeResolving() — Method in class Printer
Property::setValue() — Method in class Property
Property::setStatic() — Method in class Property
CommentAware::setComment() — Method in class CommentAware
FunctionLike::setBody() — Method in class FunctionLike
FunctionLike::setParameters() — Method in class FunctionLike
FunctionLike::setVariadic() — Method in class FunctionLike
FunctionLike::setReturnType() — Method in class FunctionLike
FunctionLike::setReturnReference() — Method in class FunctionLike
FunctionLike::setReturnNullable() — Method in class FunctionLike
FunctionLike::setNamespace() — Method in class FunctionLike
VisibilityAware::setVisibility() — Method in class VisibilityAware

T

Helpers::tabsToSpaces() — Method in class Helpers

U

Helpers::unformatDocComment() — Method in class Helpers
PhpNamespace::unresolveName() — Method in class PhpNamespace

V

ClassType::validate() — Method in class ClassType
Method::validate() — Method in class Method
$ Property#valueProperty in class Property
VisibilityAwareClass in namespace Nette\PhpGenerator\Traits

_

ClassType::__construct() — Method in class ClassType
ClassType::__toString() — Method in class ClassType
ClassType::__clone() — Method in class ClassType
Closure::__toString() — Method in class Closure
GlobalFunction::__toString() — Method in class GlobalFunction
Method::__toString() — Method in class Method
PhpFile::__toString() — Method in class PhpFile
PhpLiteral::__construct() — Method in class PhpLiteral
PhpLiteral::__toString() — Method in class PhpLiteral
PhpNamespace::__construct() — Method in class PhpNamespace
PhpNamespace::__toString() — Method in class PhpNamespace
NameAware::__construct() — Method in class NameAware