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.

Dumper::createObject() — Method in class Dumper
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

DumperClass in namespace Nette\PhpGenerator

PHP code generator utils.

Dumper::dump() — Method in class Dumper

Returns a PHP representation of a variable.

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

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
Dumper::format() — Method in class Dumper

Generates PHP statement.

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::fromCallable() — Method in class Factory
Factory::fromParameterReflection() — Method in class Factory
Factory::fromConstantReflection() — Method in class Factory
Factory::fromPropertyReflection() — Method in class Factory
GlobalFunction::from() — Method in class GlobalFunction
Helpers::format() — Method in class Helpers
Helpers::formatArgs() — Method in class Helpers
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
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::getType() — Method in class Parameter
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
Property::getType() — 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
Type::getType() — Method in class Type

H

ClassType::hasProperty() — Method in class ClassType
ClassType::hasMethod() — Method in class ClassType
HelpersClass in namespace Nette\PhpGenerator
Parameter::hasDefaultValue() — Method in class Parameter
PhpFile::hasStrictTypes() — Method in class PhpFile
PhpNamespace::hasBracketedSyntax() — Method in class PhpNamespace

I

ClassType::isClass() — Method in class ClassType
ClassType::isInterface() — Method in class ClassType
ClassType::isTrait() — Method in class ClassType
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
Property::isNullable() — Method in class Property
Property::isInitialized() — Method in class Property
$ PsrPrinter#indentationProperty in class PsrPrinter
FunctionLike::isVariadic() — Method in class FunctionLike
FunctionLike::isReturnNullable() — Method in class FunctionLike
VisibilityAware::isPublic() — Method in class VisibilityAware
VisibilityAware::isProtected() — Method in class VisibilityAware
VisibilityAware::isPrivate() — Method in class VisibilityAware

L

LiteralClass in namespace Nette\PhpGenerator

PHP literal value.

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

M

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

Class method.

N

NameAwareClass in namespace Nette\PhpGenerator\Traits
Type::nullable() — Method in class Type

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
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::printArrowFunction() — 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::printType() — 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::removeImplement() — Method in class ClassType
ClassType::removeTrait() — Method in class ClassType
ClassType::removeConstant() — Method in class ClassType
ClassType::removeProperty() — Method in class ClassType
ClassType::removeMethod() — Method in class ClassType
$ Printer#returnTypeColonProperty in class Printer
FunctionLike::removeParameter() — Method in class FunctionLike

S

ClassType::setName() — Method in class ClassType
ClassType::setClass() — Method in class ClassType
ClassType::setInterface() — Method in class ClassType
ClassType::setTrait() — 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::setType() — 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
Property::setType() — Method in class Property
Property::setNullable() — Method in class Property
Property::setInitialized() — 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
VisibilityAware::setPublic() — Method in class VisibilityAware
VisibilityAware::setProtected() — Method in class VisibilityAware
VisibilityAware::setPrivate() — Method in class VisibilityAware

T

Helpers::tabsToSpaces() — Method in class Helpers
TypeClass in namespace Nette\PhpGenerator

PHP return, property and parameter types.

U

Helpers::unformatDocComment() — Method in class Helpers
Helpers::unindent() — Method in class Helpers
PhpNamespace::unresolveName() — Method in class PhpNamespace
Type::union() — Method in class Type

V

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

W

ClassType::withBodiesFrom() — Method in class ClassType
$ Dumper#wrapLengthProperty in class Dumper
GlobalFunction::withBodyFrom() — Method in class GlobalFunction

_

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
Literal::__construct() — Method in class Literal
Literal::__toString() — Method in class Literal
Method::__toString() — Method in class Method
PhpFile::__toString() — Method in class PhpFile
PhpNamespace::__construct() — Method in class PhpNamespace
PhpNamespace::__toString() — Method in class PhpNamespace
NameAware::__construct() — Method in class NameAware