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

Classes

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

Interfaces

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

Class AnnotationsParser

Annotations support for PHP.

Namespace: Nette\Reflection
Annotation
Located at Reflection/AnnotationsParser.php
Methods summary
final public
# __construct( )

Static class - cannot be instantiated.

Static class - cannot be instantiated.

public static array
# getAll( Reflector $r )

Returns annotations.

Returns annotations.

Parameters

$r

Returns

array
array
public static string
# expandClassName( string $name, ReflectionClass $reflector )

Expands class name into FQN.

Expands class name into FQN.

Parameters

$name
$reflector

Returns

string
fully qualified class name

Throws

Nette\InvalidArgumentException
Nette\InvalidArgumentException
public static
# setCacheStorage( Nette\Caching\IStorage $storage )
public static Nette\Caching\IStorage
# getCacheStorage( )

Returns

Nette\Caching\IStorage
Nette\Caching\IStorage
Constants summary
string RE_STRING
#'\'(?:\\\\.|[^\'\\\\])*\'|"(?:\\\\.|[^"\\\\])*"'
string RE_IDENTIFIER
#'[_a-zA-Z\x7F-\xFF][_a-zA-Z0-9\x7F-\xFF-\\\]*'
Properties summary
public static boolean $useReflection
#
public static boolean $autoRefresh
#TRUE
public static array $inherited
#array('description', 'param', 'return')
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0