Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

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

Interfaces

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

Class AnnotationsParser

Annotations support for PHP.

Namespace: Nette\Reflection
Author: David Grudl
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
ReflectionClass|ReflectionMethod|ReflectionProperty

Returns

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

Expands class name into FQN.

Expands class name into FQN.

Parameters

$name
string
$reflector

Returns

string
fully qualified class name

Throws

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

Returns

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 $useAnnotationClasses TRUE
#
public static array $inherited array('description', 'param', 'return')
#
Nette 2.1 API documentation generated by ApiGen 2.8.0