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

  • Annotation
  • AnnotationsParser
  • ClassType
  • Extension
  • GlobalFunction
  • Helpers
  • Method
  • Parameter
  • Property

Interfaces

  • IAnnotation
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class ClassType

Reports information about a class.

ReflectionClass implements Reflector
Extended by Nette\Reflection\ClassType uses Nette\SmartObject
Namespace: Nette\Reflection
Located at Reflection/ClassType.php
Methods summary
public static Nette\Reflection\ClassType
# from( string|object $class )

Parameters

$class

Returns

Nette\Reflection\ClassType
static
public
# __toString( )

Overrides

ReflectionClass::__toString()
public boolean
# is( string $type )

Parameters

$type

Returns

boolean
bool
public Nette\Reflection\Method|null
# getConstructor( )

Returns

Nette\Reflection\Method|null
Method|null

Overrides

ReflectionClass::getConstructor()
public Nette\Reflection\Extension|null
# getExtension( )

Returns

Nette\Reflection\Extension|null
Extension|null

Overrides

ReflectionClass::getExtension()
public Nette\Reflection\ClassType[]
# getInterfaces( )

Returns

Nette\Reflection\ClassType[]
static[]

Overrides

ReflectionClass::getInterfaces()
public Nette\Reflection\Method
# getMethod( $name )

Returns

Nette\Reflection\Method
Method

Overrides

ReflectionClass::getMethod()
public Nette\Reflection\Method[]
# getMethods( $filter = -1 )

Returns

Nette\Reflection\Method[]
Method[]

Overrides

ReflectionClass::getMethods()
public Nette\Reflection\ClassType|null
# getParentClass( )

Returns

Nette\Reflection\ClassType|null
static|null

Overrides

ReflectionClass::getParentClass()
public Nette\Reflection\Property[]
# getProperties( $filter = -1 )

Returns

Nette\Reflection\Property[]
Property[]

Overrides

ReflectionClass::getProperties()
public Nette\Reflection\Property
# getProperty( $name )

Returns

Nette\Reflection\Property
Property

Overrides

ReflectionClass::getProperty()
public boolean
# hasAnnotation( string $name )

Has class specified annotation?

Has class specified annotation?

Parameters

$name

Returns

boolean
bool
public Nette\Reflection\IAnnotation
# getAnnotation( string $name )

Returns an annotation value.

Returns an annotation value.

Parameters

$name

Returns

Nette\Reflection\IAnnotation
IAnnotation
public IAnnotation[][]
# getAnnotations( )

Returns all annotations.

Returns all annotations.

Returns

IAnnotation[][]
IAnnotation[][]
public string
# getDescription( )

Returns value of annotation 'description'.

Returns value of annotation 'description'.

Returns

string
string
Methods inherited from ReflectionClass
__construct(), export(), getConstant(), getConstants(), getDefaultProperties(), getDocComment(), getEndLine(), getExtensionName(), getFileName(), getInterfaceNames(), getModifiers(), getName(), getNamespaceName(), getShortName(), getStartLine(), getStaticProperties(), getStaticPropertyValue(), getTraitAliases(), getTraitNames(), getTraits(), hasConstant(), hasMethod(), hasProperty(), implementsInterface(), inNamespace(), isAbstract(), isCloneable(), isFinal(), isInstance(), isInstantiable(), isInterface(), isInternal(), isIterateable(), isSubclassOf(), isTrait(), isUserDefined(), newInstance(), newInstanceArgs(), newInstanceWithoutConstructor(), setStaticPropertyValue()
Methods used from Nette\SmartObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from ReflectionClass
IS_EXPLICIT_ABSTRACT, IS_FINAL, IS_IMPLICIT_ABSTRACT
Properties inherited from ReflectionClass
$name
Magic properties summary
public read-only Nette\Reflection\Method $constructor
public read-only Nette\Reflection\Extension $extension
public read-only Nette\Reflection\ClassType $parentClass
public read-only string $description
public read-only string $name
public read-only boolean $internal
public read-only boolean $userDefined
public read-only boolean $instantiable
public read-only string $fileName
public read-only integer $startLine
public read-only integer $endLine
public read-only string $docComment
public read-only boolean $interface
public read-only boolean $abstract
public read-only boolean $final
public read-only integer $modifiers
public read-only array $staticProperties
public read-only array $defaultProperties
public read-only boolean $iterateable
public read-only string $extensionName
public read-only string $namespaceName
public read-only string $shortName
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0